Specialized THREE.ShaderMaterial for rendering Gaussian splats using instanced quads.
Implements projection-aware volumetric rendering with oriented, anisotropic Gaussian density functions.
Key features:
Instanced oriented quad geometry (4 vertices per splat)
Full 3D covariance via Cholesky factors
Perspective-correct projection of covariance to 2D
Blending-mode-aware projection (sum ray-integral for emissive additive/luminous, peak for surface max/normal/opaque)
Shifted Gaussian falloff: scale · max(0, exp(-½ · r²) - C) with C⁰ continuity at truncation
GSplat Material for Luxar
Specialized THREE.ShaderMaterial for rendering Gaussian splats using instanced quads. Implements projection-aware volumetric rendering with oriented, anisotropic Gaussian density functions.
Key features:
GPU Optimizations (GLSL ES 3.0 / WebGL2):
Mathematical basis: