maxSplatPixelSize constant

double const maxSplatPixelSize

Maximum pixel diameter for a single splat in screen space.

When zooming in close to a Gaussian, its projected ellipse can cover a very large portion of the viewport. Rendering such extremely large splats is expensive because it forces the fragment shader to run over many pixels and all overlapping splats still contribute to the scene due to alpha blending.

Implementation

static const double maxSplatPixelSize = 256;