ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


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 分最終更新 25日前

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
注
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.

Transparent Normal mapped

shader-TransBumpedDiffuse

Assets needed:
  • One Base texture with alpha channel for Transparency Map
  • One
    Normal map

    ?

    normal map, no alpha channel required

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
注
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.

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
注
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.