- Home /
Question by
flexrails · Nov 22, 2009 at 04:46 PM ·
shadergraphicstransparencycustom-shader
glass sphere with reflective/specular shader?
hi, i'm trying to create a glass sphere with reflective/specular shader. i use a reflection cubemap with alpha set to 20%. however i cannot get the sphere to be semitransparent, i only see the cubemap but not through the sphere. any ideas? thanks, flexrails
Comment
Best Answer
Answer by duck · Nov 23, 2009 at 11:19 AM
There's a shader on the Wiki called "WindowShader" which looks as though it provides what you want - both alpha transparency and cube-mapped reflections, here:
http://www.unifycommunity.com/wiki/index.php?title=WindowShader
Answer by Steven · Nov 26, 2009 at 05:44 AM
At the bottom of the shader list there is a 'transparent' sub menu, from which you can select specular, now the alpha level will work.