2 Replies Latest reply: Nov 2, 2010 12:38 PM by jaymcdonald RSS

    how to do clipping mask for shape layer

    jaymcdonald Community Member

      I am building a little web UI widget, and trying to keep all of my elements the most editable I can (shape layers and layer effects instead of rasterizing things). I have a shape layer that makes a burst-shaped badge, and it has a gradient overlay on it to give it dimensionality. Now, I want to put a circular shpae layer over it (with a transparent fade-in gradient in it) to give the badge a big glossy highlight. The problem is, if I make the badge a clipping layer for the circular highlight, the highlight gets covered over by the gradient overlay on the badge. I thought maybe I could dupe the badge shape layer, stip off the effects, then clip the highlight to that and set the fill opacity to 0% - thus making it a see-through layer... but this just makes the highlight disappear as well (I guess items inside the clipping mask are considered par of the fill - and this is also why the gradient on the bade covers it if I clip it there).

       

      If I just rasterize my fade-in gradient, and use a vector mask on it that's the same shape as the badge, it works fine. But that's not as elegantly re-sizeable. Does anyone have an idea how to solve this?