splatBudgetFactor property

double get splatBudgetFactor

The scale factor applied to the baseline splat budget for rendering.

A splat is a 2D ellipse whose size, orientation, color, and opacity determine how it is blended with overlapping splats. A Gaussian splat layer may contain millions of these splats, which collectively produce the rendered image.

This property scales the baseline splat budget for rendering in a view: 1 million splats on mobile platforms and 3 million on desktop platforms. The default budget factor is 1, which uses the baseline budget to limit the number of rendered splats. The minimum supported value is 0.1; values less than 0.1 are rounded up to 0.1.

A scale factor of 2 doubles the budget to 2 million splats on mobile platforms and 6 million on desktop platforms. If the number of splats available for the current viewpoint exceeds the scaled budget, the renderer will limit the number of rendered splats, prioritizing those closer to the viewpoint. If the scaled budget exceeds the number of splats available for the current viewpoint, increasing the scale factor further has no effect. Small changes to the scale factor may leave the level of detail unchanged due to internal rounding, with no effect on the number of rendered splats or visual quality.

This scale factor applies to all Gaussian splat layers. The renderer adjusts the Gaussian splat layers' levels of detail based on the scaled splat budget shared across these layers. Closer viewpoints typically render more splats with higher levels of detail than full-extent viewpoints. Higher scale factors can improve visual quality but increase rendering and memory costs.

set splatBudgetFactor (double value)