Table of Contents

Shadow Optimizations


Per-prototype shadow settings on BRG Prototype Extra Data. These allow fine-grained control over shadow rendering cost per prefab type.

Property Type Default Description
Force Disable Shadows bool false Force this prototype to never cast shadows, regardless of the source renderer's shadow casting mode. Can also be toggled at runtime for a whole group via BRGPrototypeGroup.SetShadowsEnabled().
Max Shadow Cascade int (1–4) 4 Maximum number of shadow cascades this prototype renders into. Lower values skip distant cascades. Set to 1 for grass and small details.
Min Shadow LOD int (0–7) 0 Minimum LOD level used for shadow rendering. If set to 1, shadows use the LOD1 mesh instead of LOD0, reducing shadow polygon count.
Override Max Shadow Crossfade Cascade bool false Enables the per-prototype shadow crossfade cascade override below.
Max Shadow Crossfade Cascade int (0–4) 4 Number of shadow cascades using dithered crossfade for this prototype. Overrides the global value on the Config.

Max shadow distance is no longer set here. Assign a BRG Prototype Group and use its shadow caster distance culling, which can also follow the pipeline's own shadow distance automatically.

For more details, see Shadow Optimization.