Original picture:
Final effect:
1. Open the material image and use the shortcut key ctrl+j to copy the background image to get "Layer 1"; use the "Create New Layer" button under the layer panel to create a new layer and get "Layer 2" ; Set the foreground color to white, select "Layer 2", and use the shortcut keys alt+delete to fill the foreground color;