Skip to content

Expose gsplat component lodRangeMin / lodRangeMax #2095

Description

@mvaligursky

The engine now exposes per-component LOD range limits on the gsplat component: GSplatComponent#lodRangeMin (default 0) and GSplatComponent#lodRangeMax (default 99). These replace the previously global app.scene.gsplat.lodRangeMin / lodRangeMax, which are now deprecated no-ops.

We should expose these two new parameters in the Editor's gsplat component inspector (alongside lodBaseDistance / lodMultiplier).

Notes:

  • lodRangeMin: minimum allowed LOD index (inclusive), default 0.
  • lodRangeMax: maximum allowed LOD index (inclusive), default 99 (effectively "no cap"; clamped to the asset's max LOD at use).

Dependency: Requires the engine v2.20 release.

Engine PR: playcanvas/engine#8908

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions