Transparent Shader Family overview
Reference for the transparent legacy shaders in Unity, which allow you to determine areas of partial transparency using an alpha channel.
阅读时间2 分钟最后更新于 18 天前
Note. Unity 5 introduced the Standard Shader which replaces these shaders.
The Transparent shaders are used for fully- or semi-transparent objects. Using the alpha channel of the Base texture, you can determine areas of the object which can be more or less transparent than others. This can create a great effect for glass, HUD interfaces, or sci-fi effects.
Transparent Vertex-Lit

shader-TransVertexLit
Assets needed:
- One Base texture with alpha channel for Transparency Map
Transparent Diffuse

shader-TransDiffuse
Assets needed:
- One Base texture with alpha channel for Transparency Map
Transparent Specular

shader-TransSpecular
Assets needed:
- One Base texture with alpha channel for combined Transparency Map/Specular Map
Transparent Normal mapped

shader-TransBumpedDiffuse
Assets needed:
- One Base texture with alpha channel for Transparency Map
- One normal map, no alpha channel requiredNormal map
?
Transparent Normal mapped Specular

shader-TransBumpedSpecular
Assets needed:
- One Base texture with alpha channel for combined Transparency Map/Specular Map
- One Normal map normal map, no alpha channel required
Transparent Parallax

shader-TransParallaxDiffuse
Assets needed:
- One Base texture with alpha channel for Transparency Map
- One Normal map normal map with alpha channel for Parallax Depth
Transparent Parallax Specular

shader-TransParallaxSpecular
Assets needed:
- One Base texture with alpha channel for combined Transparency Map/Specular Map
- One Normal map normal map with alpha channel for Parallax Depth