Documentation

Unity Engine


Unity Engine


Diffuse

Reference for the legacy Diffuse shader, which provides basic matte lighting.
Read time 1 minuteLast updated a month ago

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

Normal Diffuse shader.

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.