For the complete documentation index, see llms.txt. This page is also available as Markdown.

Additional Renderer Settings

Provides additional rendering options for Flora on a per-prefab basis.

Attach this component to a prefab for distance caps, shadow settings, or optional per-instance shader data.

Properties

AdditionalPerInstanceData

  • RandomID exposes flora_RandomID or the Shader Graph InstanceRandomID node.

  • VariationColor exposes flora_VariationColor or the Shader Graph InstanceVariationColor node.

Enable only data the shader reads. Each flag increases per-instance data.

InitialVariationColor

Initial GPU value for VariationColor. Submit changes with SetInstanceVariationColor(...) or SetInstanceVariationColors(...). Keep readable state in caller-owned data.

MaxRenderDistance

Per-prefab render-distance cap. 0 disables it. The smallest active non-zero cap wins.

MaxShadowDistance

Per-prefab shadow-distance cap. 0 disables it. The smallest active non-zero cap wins.

MinShadowLOD

Lowest LOD index allowed for shadows. 0 allows LOD0.

Small Mesh Culling

Flora uses Renderer.smallMeshCulling for RangeDensity and MinScreenSize. Disabling it on one renderer disables both features for the render prototype.

RequiresPerInstanceRandomID (Obsolete)

Kept only to migrate older assets to AdditionalPerInstanceData.RandomID.

Last updated