Legacy Documentation: Version 2017.1 (Go to current version)
Reflective Vertex-Lit
Reflective Specular
Other Versions

Reflective Diffuse

Note. Unity 5 introduced the Standard Shader which replaces this shader.

Reflective Properties

Note. Unity 5 introduced the Standard Shader which replaces this shader.

This shader will simulate reflective surfaces such as cars, metal objects etc. It requires an environment Cubemap which will define what exactly is reflected. The main texture’s alpha channel defines the strength of reflection on the object’s surface. Any scene lights will add illumination on top of what is reflected.

Diffuse Properties

Diffuse computes a simple (Lambertian) lighting model. The lighting on the surface decreases as the angle between it and the light decreases. The lighting depends only on this angle, and does not change as the camera moves or rotates around.

Performance

Generally, this shader is cheap to render. For more details, please view the Shader Peformance page.

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