Previous
Reflective Vertex-Lit
Next
Reflective Specular

Reflective Diffuse

Reflective Properties

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

Previous
Reflective Vertex-Lit
Next
Reflective Specular