Sets the material a mesh's shadow is cast through, instead of a depth-only view of material itself.
Honoured by the PCF and CSM caster paths (including the CSM static cache): they build the caster's
no-colour view from casterMaterial and re-evaluate the caster set when either material is rebuilt.
The ESM path renders casters through its own per-family ESM depth views and ignores the override.
The override material does not need to be assigned to any mesh or added to a scene.
Sets the material a mesh's shadow is cast through, instead of a depth-only view of
materialitself.Honoured by the PCF and CSM caster paths (including the CSM static cache): they build the caster's no-colour view from
casterMaterialand re-evaluate the caster set when either material is rebuilt. The ESM path renders casters through its own per-family ESM depth views and ignores the override. The override material does not need to be assigned to any mesh or added to a scene.