I want to make a white rounded rectangle (which will be used for an in-game alpha mask) and another layer which contains a drop shadow. That way I can do quick export for the two layers. WITHOUT RASTERIZING
I use blue and red to help me provide the contrast to help me debug.
I have a rounded rectangle which I converted to a path.
I’ve created a vector mask where I reversed
When I create the clipping mask I get the following. Which is close to what I want except for the white background as I just wanted the drop shadow with a transparent background.
I think I can do a layer mask but it seems I have to rasterize the path. This is basically what I got when I rasterize.
Answer
- Create a shape layer in the desired shape and with any colour fill;
- Add your drop shadow using Layer Styles;
- Make sure that on the Drop Shadow settings, the box ‘Layer Knocks Out Drop Shadow’ is ticked;
- In the Layers palette, reduce the layer’s ‘Fill’ property (not Opacity) to 0%.
‘Fill’ functions exactly the same as Opacity, except it doesn’t affect any layer styles you applied.
Attribution
Source : Link , Question Author : Archimedes Trajano , Answer Author : Vincent