Monday, March 04, 2013

Unity Game engine: Transparent Texture

Works with PNG (8 or 24) with transparency enabled in Photoshop. File > Save for Web > PNG-8 or PNG-24 > Transparency checked

Material Shader changed to Transparent/Diffuse. Hierarchy view > object > default > Inspector > defaultmat > Shader > Transparent/Diffuse

Took some time troubleshooting a silly error. Accidentally change the material's Main Color to RGBA (255, 255, 255, 0) . Alpha zero! and so when material shader set to transparent, nothing is seen as the Main Color alpha is ZERO.


No comments: