Additional Renderer Settings
Provides additional rendering options for Flora on a per-prefab basis.
Last updated
Provides additional rendering options for Flora on a per-prefab basis.
Attach this component to a prefab to add per-prefab caps for distance, shadows, and density participation.
Allocates optional per-instance shader data for this prefab.
RandomID exposes a stable per-instance random value as flora_RandomID or the Shader Graph InstanceRandomID node.
VariationColor exposes a per-instance color as flora_VariationColor or the Shader Graph InstanceVariationColor node.
Enable only the data your shaders need; each enabled flag increases per-instance data.
See Shaders and Materials for shader setup.
Initial value for VariationColor instances.
Ignored unless AdditionalPerInstanceData includes VariationColor.
Individual instances can override it at runtime with FloraSystem.SetInstanceVariationColor(...) or SetInstanceVariationColors(...).
Adds a per-prefab maximum render distance cap.
0 — Prefab cap disabled.
Non-zero — Combined with other active caps; the smallest non-zero cap wins.
Adds a per-prefab maximum shadow distance cap.
0 — Prefab cap disabled.
Non-zero — Combined with other active caps; the smallest non-zero cap wins.
Sets the lowest LOD index allowed for rendering shadows.
0 — Highest detail.
Higher values reduce shadow fidelity to improve performance.
If enabled, instances can be culled based on the current Global Density.
If enabled, instances can be culled based on Range Density values in the scene.
If enabled, instances can be culled by MinScreenSize.
Disable this for prefabs that should ignore minimum screen-size culling even when the active Render Settings enable it.
Migrated to AdditionalPerInstanceData.RandomID.
Kept for older serialized assets only.
Last updated