Module shaders

Source
Expand description

Original built-in faceted lighting and distance fog.

Immediate geometry evaluates lighting on the CPU. Retained meshes evaluate directional lighting/fog plus scene lights/shadows in the GPU fragment shader. Both preserve flat face normals and require no external material resources.

Structsยง

LitMaterial
Built-in faceted lighting material; no external GPU resources are required.
LitSettings