API

Interface GaussianPointSplatting

Mutable options for the opt-in WebGPU stochastic Gaussian renderer.

interface GaussianPointSplatting {
    colorRenderMode: boolean;
    depthRenderMode: boolean;
    depthVisualization: "linear" | "none" | "alphaBlended";
    maxAccumFrames: number;
    occlusionCulling: boolean;
    pointScale: number;
    progress: GaussianPointSplattingProgress | null;
    renderScale: number | "auto";
    temporalReprojection: boolean;
}
Index
colorRenderMode: boolean
depthRenderMode: boolean
depthVisualization: "linear" | "none" | "alphaBlended"

Equivalent of gsLinearDepthFragment / gsAlphaBlendedDepthFragment; match the mesh's classic fragments. Used when depthRenderMode is enabled. Linear mode renders opaque discs at full resolution, independently of pointScale/renderScale; alphaBlended retains the stochastic weighted depth mean.

maxAccumFrames: number

Per-pixel samples after which accumulation stops; changing it resumes or stops without invalidating samples.

occlusionCulling: boolean
pointScale: number
renderScale: number | "auto"
temporalReprojection: boolean

Experimental: reproject accumulated samples when the camera or target moves instead of restarting, so noise is confined to disocclusions.