Save the selection . See saving selections in the part two of the Masks tutorial. Settings for Gradient fills. Create a custom fill by clicking on Edit and following the settings below. Creating the fill that will be almost transparent and provide see-through shaping for our buttons.
Gradient fill is applied straight down since the light source is directly from the top.
Gentle stroke added to button to define shape. We will remove parts of the stroke later, but since it is on a separate layer, that is easy. The bottom half of the rounded rectangle selection is removed. Our button now has some depth. Before you start, you will have to decide the direction for the light.