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

Transparent Shader Family

Note. Unity 5 introduced the Standard ShaderA built-in shader for rendering real-world objects such as stone, wood, glass, plastic and metal. Supports a wide range of shader types and combinations. More info
See in Glossary
which replaces these shadersA small script that contains the mathematical calculations and algorithms for calculating the Color of each pixel rendered, based on the lighting input and the Material configuration. More info
See in Glossary
.

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

AssetsAny media or data that can be used in your game or Project. An asset may come from a file created outside of Unity, such as a 3D model, an audio file or an image. You can also create some asset types in Unity, such as an Animator Controller, an Audio Mixer or a Render Texture. More info
See in Glossary
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

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