> For the complete documentation index, see [llms.txt](https://flora.magneticarcade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flora.magneticarcade.com/scripts/render-settings.md).

# Render Settings

Controls instance culling and rendering options.

Add `FloraRenderSettings` to a [Volume](https://docs.unity3d.com/Manual/urp/Volumes.html). Global Volumes affect every camera; local Volumes blend within their bounds.

When multiple distance caps apply, Flora uses the smallest non-zero value.

## Properties

### `MinScreenSizeMode`

Selects which instances use `MinScreenSize`:

* `Disabled` - off.
* `RenderersOnly` - renderers not owned by an active LODGroup.
* `RenderersAndLODGroups` - all render prototypes.

### `MinScreenSize`

Minimum screen-space coverage required to render an instance. It applies only when every renderer in the render prototype allows `Renderer.smallMeshCulling`.

### `RangeDensityMode`

Uses the same modes as `MinScreenSizeMode` to select which render prototypes receive range-density culling.

### `RangeDensityMask`

Instance layers affected by range-density culling.

### `RangeDensity`

Fraction of small-on-screen instances retained at the far end of the density range. Requires `Renderer.smallMeshCulling` on every renderer in the render prototype.

### `RangeDensityFalloff`

Controls how quickly density falls to `RangeDensity`.

### `RangeDensityScreenPercentage`

Screen-size range for density culling. Its lower bound cannot be below `MinScreenSize`.

### `MaxRenderDistance`

Maximum render distance. `0` disables this cap.

### `MinShadowLOD`

Minimum LOD index used for shadows. `0` allows LOD0.

### `MaxShadowDistance`

Maximum shadow distance. `0` disables this cap.

### `CrossFadeDuration`

Duration of Flora's animated LOD cross-fades in seconds.

### `RandomizeLODTransition`

Randomizes per-instance LOD thresholds. `0` disables randomization.

## Runtime overrides

Use `VolumeParameter.Override(...)` to enable runtime overrides:

```csharp
var sceneSettings = FloraSceneSettings.GetOrCreate();
var render = sceneSettings.GetGlobalRenderSettings();
render.MaxRenderDistance.Override(120f);
render.MaxShadowDistance.Override(80f);
render.RangeDensityMode.Override(FloraDensityMode.RenderersOnly);
render.RangeDensity.Override(0.6f);
```

Writable Volume Profiles migrate legacy `FloraDensitySettings` automatically. See [Upgrade from 6.3.35](/getting-started/upgrading-from-6-3-35.md).
