Density Settings

Controls how density-based culling is applied to instances.

This volume component provides two primary options:

  • Global Density – Reduces the overall number of instances.

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

Attach this to a Volume to control instance density.

Properties

GlobalDensityEnabled

GlobalDensityMask

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

GlobalDensity

  • The fraction of instances to keep when global density is active.

    • 1.0 = Keep all instances.

    • 0.5 = Keep half.

    • 0.0 = Cull all matching instances.

GlobalDensitySizeThreshold

  • Instances larger than this threshold (by bounding box diagonal) are exempt from global density culling.

RangeDensityEnabled

  • Enables or disables range-based density culling.

    • Uses screen coverage to reduce instances that appear small on screen.

RangeDensityMask

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

RangeDensity

  • The lowest density level to apply at the smallest screen coverage.

    • 0.1 = Only 10% of far-away/small instances remain.

RangeDensityFalloffPower

  • Controls the sharpness of the density falloff curve.

    • Higher values = faster falloff.

    • Lower values = smoother transition.

RangeDensityScreenPercentage

  • Screen coverage thresholds for applying range-based density.

    • Defined as a percentage of screen size.

    • Lower bound is controlled by MinScreenSize.

Last updated