From: Wildefire Walcott
My medicine cabinet has a frosted-glass door with a wooden frame and a ceramic knob. I'm thinking about ditching the knob and going single-prim if I can figure out how to make a multilayer (glass/wood) texture with appropriate alpha channels to keep the glass semi translucent.
I think this will be the best option, rather tahn 3-prims/3-scripts in order for the door to function while linked to the rest of the object.
About the alpha.. if you have Photoshop, here's a crash course:
1) paint your glass onto a layer, don't worry about the transparency.
2) click the <new layer> button to create a new layer.
3) paint your wooden frame and ceramic knob onto the new layer.
4) switch from the
layers tab to the
channels tab.
5) note that you see the red/green/blue channels (to ensure you're in the right place).
6) click the <new channel> button to add a new channel (it'll be named 'alpha').
6a) the alpha channel will be solid black, you want to make it solid white... so,
7) fill the alpha channel with solid white.

switch from the channels tab, back to your layers tab.
9) select the frame layer.
10)use the magic wand to select the empty space in the middle of the frame layer.
11)switch from the layers tab, back to your channels tab.
12)choose a shade of gray, 50% gray will be 50% transparent
13)fill the selection with gray
14)save the image as a .tga (targa) file and choose the 32-bit option.
15)import into SL, if you see checkers through the 'glass', you're good to go.
The alpha
channel is the key. The solid white parts of the alpha channel will be solid in SL, the solid black parts of the alpha channel will be invisible in SL. 25% dark gray on the alpha channel is equal to a 75% transparency setting in SL... 75% light gray on the alpha channel, translates to a 25% transparency setting in SL.