Legacy Documentation: Version 2017.1 (Go to current version)
Diffuse Detail
Transparent Vertex-Lit
Other Versions

Transparent Shader Family

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
shader-TransVertexLit

Assets needed:

  • One Base texture with alpha channel for Transparency Map

» More details

Transparent Diffuse

shader-TransDiffuse
shader-TransDiffuse

Assets needed:

  • One Base texture with alpha channel for Transparency Map

» More details

Transparent Specular

shader-TransSpecular
shader-TransSpecular

Assets needed:

  • One Base texture with alpha channel for combined Transparency Map/Specular Map

Note: One limitation of this shader is that the Base texture’s alpha channel doubles as a Specular Map for the Specular shaders in this family.

» More details

Transparent Normal mapped

shader-TransBumpedDiffuse
shader-TransBumpedDiffuse

Assets needed:

  • One Base texture with alpha channel for Transparency Map
  • One Normal map normal map, no alpha channel required

» More details

Transparent Normal mapped Specular

shader-TransBumpedSpecular
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

Note: One limitation of this shader is that the Base texture’s alpha channel doubles as a Specular Map for the Specular shaders in this family.

» More details

Transparent Parallax

shader-TransParallaxDiffuse
shader-TransParallaxDiffuse

Assets needed:

  • One Base texture with alpha channel for Transparency Map
  • One Normal map normal map with alpha channel for Parallax Depth

» More details

Transparent Parallax Specular

shader-TransParallaxSpecular
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

Note: One limitation of this shader is that the Base texture’s alpha channel doubles as a Specular Map for the Specular shaders in this family.

» More details

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答