Render Settings
Controls instance culling and rendering options.
Add FloraRenderSettings to a Volume. 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:
Writable Volume Profiles migrate legacy FloraDensitySettings automatically. See Upgrade from 6.3.35.
Last updated