The engine now applies a set of gsplat parameters from serialized scene render settings via AppBase#applySceneSettings (Scene#applySettings -> GSplatParams#applySettings). The Editor should expose these in the scene settings UI and serialize them as flat render.gsplat* keys.
Settings to expose (key -> GSplatParams property):
gsplatRadialSorting -> radialSorting (boolean)
gsplatLodUpdateDistance -> lodUpdateDistance (number)
gsplatLodUpdateAngle -> lodUpdateAngle (number)
gsplatLodBehindPenalty -> lodBehindPenalty (number)
gsplatLodUnderfillLimit -> lodUnderfillLimit (number)
gsplatSplatBudget -> splatBudget (number)
gsplatAlphaClip -> alphaClip (number)
gsplatAlphaClipForward -> alphaClipForward (number)
gsplatMinPixelSize -> minPixelSize (number)
gsplatMinContribution -> minContribution (number)
gsplatFoveationStrength -> foveationStrength (number)
gsplatFoveationCenter -> foveationCenter (number)
gsplatAntiAlias -> antiAlias (boolean)
gsplatUseFog -> useFog (boolean)
gsplatColorUpdateAngle -> colorUpdateAngle (number)
gsplatCooldownTicks -> cooldownTicks (number)
gsplatDataFormat -> dataFormat (string; one of the GSPLATDATA_* constants)
gsplatEnableIds -> enableIds (boolean)
Dependency: Requires the engine v2.20 release.
Engine PR: playcanvas/engine#8909
The engine now applies a set of gsplat parameters from serialized scene render settings via
AppBase#applySceneSettings(Scene#applySettings->GSplatParams#applySettings). The Editor should expose these in the scene settings UI and serialize them as flatrender.gsplat*keys.Settings to expose (key -> GSplatParams property):
gsplatRadialSorting-> radialSorting (boolean)gsplatLodUpdateDistance-> lodUpdateDistance (number)gsplatLodUpdateAngle-> lodUpdateAngle (number)gsplatLodBehindPenalty-> lodBehindPenalty (number)gsplatLodUnderfillLimit-> lodUnderfillLimit (number)gsplatSplatBudget-> splatBudget (number)gsplatAlphaClip-> alphaClip (number)gsplatAlphaClipForward-> alphaClipForward (number)gsplatMinPixelSize-> minPixelSize (number)gsplatMinContribution-> minContribution (number)gsplatFoveationStrength-> foveationStrength (number)gsplatFoveationCenter-> foveationCenter (number)gsplatAntiAlias-> antiAlias (boolean)gsplatUseFog-> useFog (boolean)gsplatColorUpdateAngle-> colorUpdateAngle (number)gsplatCooldownTicks-> cooldownTicks (number)gsplatDataFormat-> dataFormat (string; one of the GSPLATDATA_* constants)gsplatEnableIds-> enableIds (boolean)Dependency: Requires the engine v2.20 release.
Engine PR: playcanvas/engine#8909