Density Settings

Controls how density-based culling is applied to instances.

This volume component controls how Flora reduces instance density to improve performance or achieve stylistic variation.

It provides two primary density mechanisms:

  • Global Density – Reduces the total number of instances uniformly across the scene.

  • Range-Based Density – Dynamically adjusts instance density based on screen-space coverage.

Attach this component to a Volume to enable density culling effects within specific regions.


Properties

GlobalDensityEnabled


GlobalDensityMask

  • Specifies which instance layers are affected by global density culling.


GlobalDensity

  • Controls the fraction of instances to retain.

    • 1.0 = Keep all instances

    • 0.5 = Keep half

    • 0.0 = Cull all matching instances


GlobalDensitySizeThreshold

  • Instances with a bounding box diagonal larger than this value are exempt from global density culling.


RangeDensityEnabled

  • Enables or disables range-based density culling.

    • Reduces instance counts based on their screen-space size


RangeDensityMask

  • Specifies which instance layers are affected by range-based density.


RangeDensity

  • Defines the minimum density for small-screen-coverage instances.

    • 0.1 = Only 10% of distant/small instances remain


RangeDensityFalloffPower

  • Controls how quickly the density falls off.

    • Higher values = faster drop-off

    • Lower values = smoother, gradual transition


RangeDensityScreenPercentage

  • Sets the screen coverage thresholds used to apply range-based density.

    • Defined as a percentage of screen size

    • The lower bound is constrained by MinScreenSize

Last updated