文档

Unity Engine


User Manual

Script Reference

Unity Engine


Normal Shader Family reference

Reference for legacy opaque Normal-family shaders.
阅读时间1 分钟最后更新于 22 天前

Note. Unity 5 introduced the Standard Shader which replaces these shaders.
The information in this section is a reference for the basic legacy shaders in Unity.

Topic

Description

Normal Shader Family overviewReference for the basic legacy shaders in Unity suitable for most opaque objects.
Vertex-LitReference for the legacy Vertex-Lit shader, which calculates lighting per-vertex.
DiffuseReference for the legacy Diffuse shader, which provides basic matte lighting.
SpecularReference for the legacy Specular shader, which adds a specular highlight based on the alpha channel.
Bumped DiffuseReference for the legacy Bumped Diffuse shader, which adds surface detail using a normal map.
Bumped SpecularReference for the legacy Bumped Specular shader, which combines a normal map with a specular highlight.
Parallax DiffuseReference for the legacy Parallax Diffuse shader, which adds depth to the surface using a parallax map.
Parallax Bumped SpecularReference for the legacy Parallax Bumped Specular shader, which combines a parallax map with a specular highlight.
DecalReference for the legacy Decal shader, which adds a second texture with an alpha channel for additional details.
Diffuse DetailReference for the legacy Diffuse Detail shader, which blends a second detail texture that appears as the camera gets closer.

Additional resources