3D Gaussian Splatting
Models a scene as millions of anisotropic 3D Gaussians with opacity and spherical-harmonic colour, optimised from photos and rendered by fast depth-sorted tile rasterisation.
Also known as 3DGS, Gaussian splatting
In the family Capture, reconstruction & splatting, splatting
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | Official add-on | import { GaussianSplat } from 'three/addons/objects/GaussianSplat.js' docs WebGPURenderer. |
| Babylon.js 9.38.0 | Built in | BABYLON.GaussianSplattingMesh (loads .splat/.ply/.spz via SceneLoader) docs |
| Godot 4.7 | Plugin | Install the gdgs addon (ReconWorldLab/godot-gaussian-splatting) docs Third-party compute-based 3DGS renderer. |
| Unity | Plugin | git url: https://github.com/aras-p/UnityGaussianSplatting.git?path=/package docs Third-party renderer (aras-p), URP, HDRP and built-in. |
| Unreal 5.7 | Plugin | Gaussian Splatting for Unreal Engine plugin (third-party) docs |
| Blender 5.2 | Plugin | Blender add-on: 3DGS Render by KIRI Engine docs Imports and renders trained splats; training is external. |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Initialise one Gaussian per sparse SfM point. Each carries a position, a covariance stored as scale and rotation, an opacity and spherical-harmonic coefficients for view-dependent colour. To render, each Gaussian is projected to a 2D ellipse using the local affine approximation of the perspective transform, binned into 16x16 screen tiles, sorted by depth per tile, and alpha-composited front to back. The whole pipeline is differentiable, so photometric L1 plus D-SSIM loss trains all parameters with Adam. During optimisation an adaptive density control step clones Gaussians in under-reconstructed regions, splits large ones, prunes near-transparent ones, and periodically resets opacity to shed floaters. The result renders at real-time rates at 1080p on a desktop GPU.
When to choose it
Reach for it when
- view captured scene in real time from new angles
- nerf renders too slowly for interactive viewing
- turn photos into a fast photoreal viewable scene
- need novel view synthesis at high frame rates
- photoreal capture playable on a gpu
Choose it for real-time novel-view viewing of captured scenes. Prefer Mip-Splatting when you need zoom-stable rendering without aliasing, 2D Gaussian Splatting when you need accurate surfaces, StopThePop (Sorted Gaussian Splatting) for popping-free sorting, and Neuralangelo or NeuS if the deliverable is a mesh. Prefer Instant NGP (Multiresolution Hash Encoding) when a CUDA-only, volumetric field is acceptable.
Field marks
- Popping and view-inconsistency from per-tile depth sorting of overlapping Gaussians
- Aliasing and dilation when zooming out or changing resolution relative to training
- Floaters and needle-like Gaussians in poorly observed regions
- Geometry is not a clean surface, so meshing and relighting are unreliable
- Large VRAM and file sizes, often hundreds of MB per scene
Presets
Official 3DGS training hyper-parameters
{
"iterations": 30000,
"sh_degree": 3,
"position_lr_init": 0.00016,
"position_lr_final": 0.0000016,
"feature_lr": 0.0025,
"opacity_lr": 0.025,
"scaling_lr": 0.005,
"rotation_lr": 0.001,
"percent_dense": 0.01,
"lambda_dssim": 0.2,
"densification_interval": 100,
"opacity_reset_interval": 3000,
"densify_from_iter": 500,
"densify_until_iter": 15000,
"densify_grad_threshold": 0.0002
}Attribution: Defaults from graphdeco-inria/gaussian-splatting (Inria/MPI Gaussian-Splatting licence, non-commercial research use; see repo LICENSE.md). · basis: 2
3D Gaussian Splatting — 2-sigma EWA covariance ellipses (left) vs sorted SH alpha-blended splats (right)
{
"P_SPLAT_SCALE": 1,
"P_SH_GAIN": 1,
"P_ROT_SPEED": 0.75,
"P_SPLIT": 0.48
}Show GLSL (152 lines)
const float P_SPLAT_SCALE = 1.0; // P Gaussian Scale [0.45, 1.8, 0.05]
const float P_SH_GAIN = 1.0; // P View-Dep SH [0.0, 2.0, 0.05]
const float P_ROT_SPEED = 0.75; // P Orbit Speed [0.0, 2.2, 0.05]
const float P_SPLIT = 0.48; // P Ellipses / 3DGS Split [0.0, 1.0, 0.02]
mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }
// 3D anisotropic Gaussian primitive i arranged on a sculpted twisted torus-knot + luminous core
void getGaussian(int idx, float spin, float scaleG, out vec3 posView, out vec3 axisU, out vec3 axisV, out vec3 shBase, out vec3 shDir, out float opac) {
float fi = float(idx);
float N = 32.0;
float u = fi / N * 6.2831853;
// 24 anisotropic elongated Gaussians tracing a 3D trefoil ribbon + 8 inner core splats
vec3 pObj, tDir, nDir;
vec2 radii;
if (idx < 24) {
float a = fi / 24.0 * 6.2831853;
float rMaj = 0.56 + 0.14 * cos(a * 3.0);
pObj = vec3(cos(a) * rMaj, 0.24 * sin(a * 3.0), sin(a) * rMaj);
tDir = normalize(vec3(-sin(a) * rMaj, 0.72 * cos(a * 3.0), cos(a) * rMaj));
nDir = normalize(cross(tDir, vec3(0.0, 1.0, 0.15)));
radii = vec2(0.18, 0.068) * scaleG;
shBase = 0.52 + 0.45 * cos(a + vec3(0.0, 2.094, 4.188));
shDir = vec3(0.35, 0.18, -0.28);
opac = 0.76;
} else {
float b = float(idx - 24) / 8.0 * 6.2831853;
pObj = vec3(cos(b) * 0.20, sin(b * 2.0) * 0.16, sin(b) * 0.20);
tDir = normalize(vec3(-sin(b), cos(b), cos(b)));
nDir = normalize(cross(tDir, vec3(0.1, 0.9, 0.2)));
radii = vec2(0.14, 0.10) * scaleG;
shBase = vec3(0.95, 0.78, 0.34);
shDir = vec3(-0.22, 0.32, 0.25);
opac = 0.84;
}
// Camera view transform W (orbit around object)
pObj.xz = rot2(spin * 0.65) * pObj.xz;
pObj.yz = rot2(0.45) * pObj.yz;
tDir.xz = rot2(spin * 0.65) * tDir.xz;
tDir.yz = rot2(0.45) * tDir.yz;
nDir.xz = rot2(spin * 0.65) * nDir.xz;
nDir.yz = rot2(0.45) * nDir.yz;
posView = pObj + vec3(0.0, 0.0, -2.35);
axisU = tDir * radii.x;
axisV = nDir * radii.y;
}
vec3 aces(vec3 x) {
x = max(x, 0.0);
return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
float screenX = fragCoord.x / max(iResolution.x, 1.0);
float split = clamp(P_SPLIT, 0.0, 1.0);
bool isBlended = screenX >= split;
float scaleG = clamp(P_SPLAT_SCALE, 0.35, 2.0);
float shGain = clamp(P_SH_GAIN, 0.0, 2.2);
float spin = iTime * max(P_ROT_SPEED, 0.0);
float focal = 1.55;
vec3 bg = mix(vec3(0.022, 0.030, 0.052), vec3(0.062, 0.082, 0.132), smoothstep(-0.55, 0.55, uv.y));
// Subtle perspective reference grid
vec3 rd = normalize(vec3(uv, -focal));
if (rd.y < -0.02) {
float tf = (-0.65) / rd.y;
if (tf > 0.0 && tf < 14.0) {
vec3 pf = vec3(0.0, 0.0, 0.0) + rd * tf;
vec2 gf = abs(fract(pf.xz * 2.0 - 0.5) - 0.5);
float gl = smoothstep(0.04, 0.008, min(gf.x, gf.y)) * exp(-tf * 0.28);
bg += vec3(0.08, 0.14, 0.24) * gl;
}
}
// Approximate depth-ordered front-to-back compositing using 4 depth buckets (exact 3DGS front-to-back T_i update)
vec3 accumCol = vec3(0.0);
float trans = 1.0;
float ellipseRing = 0.0;
float centerDot = 0.0;
for (int pass = 0; pass < 4; pass++) {
float zLo = -1.45 - float(pass) * 0.45;
float zHi = zLo - 0.45;
for (int i = 0; i < 32; i++) {
vec3 pV, aU, aV, sh0, sh1;
float opac;
getGaussian(i, spin, scaleG, pV, aU, aV, sh0, sh1, opac);
if (pass == 0 && pV.z <= zHi) continue;
if (pass == 1 && (pV.z > zLo || pV.z <= zHi)) continue;
if (pass == 2 && (pV.z > zLo || pV.z <= zHi)) continue;
if (pass == 3 && pV.z > zLo) continue;
float invZ = 1.0 / max(-pV.z, 0.25);
vec2 mean2D = pV.xy * (focal * invZ);
// EWA perspective Jacobian J = focal/z * [1, 0, -x/z; 0, 1, -y/z] projecting 3D covariance axes -> 2D!
vec2 jU = (aU.xy - pV.xy * (aU.z * invZ)) * (focal * invZ);
vec2 jV = (aV.xy - pV.xy * (aV.z * invZ)) * (focal * invZ);
// 2x2 projected covariance Sigma_2D = jU*jU^T + jV*jV^T + low-pass eps*I
float eps = 0.00018;
float s00 = jU.x * jU.x + jV.x * jV.x + eps;
float s01 = jU.x * jU.y + jV.x * jV.y;
float s11 = jU.y * jU.y + jV.y * jV.y + eps;
float det = max(s00 * s11 - s01 * s01, 1e-8);
float invDet = 1.0 / det;
// Mahalanobis squared distance d^T Sigma_2D^-1 d
vec2 d = uv - mean2D;
float m2 = (s11 * d.x * d.x - 2.0 * s01 * d.x * d.y + s00 * d.y * d.y) * invDet;
if (m2 > 9.5) continue;
// Evaluate spherical-harmonic view-dependent color c(d) = SH0 + SH1 * dot(viewDir, axis)
vec3 viewDir = normalize(pV);
vec3 splatCol = clamp(sh0 + sh1 * dot(viewDir, normalize(aU)) * shGain + 0.16 * shGain * viewDir.y, 0.04, 1.8);
float g = exp(-0.5 * m2);
float alpha = clamp(opac * g, 0.0, 0.98);
if (!isBlended) {
// Left: visualize 1.8-sigma EWA projected covariance ellipses & Gaussian means
float ring = smoothstep(0.28, 0.06, abs(sqrt(max(m2, 0.0)) - 1.65));
ellipseRing = max(ellipseRing, ring * trans);
centerDot = max(centerDot, smoothstep(0.014, 0.005, length(d)));
accumCol += trans * (alpha * 0.42) * splatCol;
trans *= (1.0 - alpha * 0.42);
} else {
// Right: full 3DGS front-to-back alpha compositing C += T * alpha * c; T *= (1 - alpha)
accumCol += trans * alpha * splatCol;
trans *= (1.0 - alpha);
}
if (trans < 0.01) break;
}
}
vec3 col = accumCol + trans * bg;
if (!isBlended) {
col += vec3(0.32, 0.92, 1.0) * ellipseRing * 0.72;
col = mix(col, vec3(1.0, 0.92, 0.44), centerDot * 0.88);
}
float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
col = mix(col, vec3(0.95, 0.97, 1.0), sep);
fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}Attribution: MIT — written for this index.
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| gaussian-splatting-3dgs-live | Tesla T4 1920x1080 | 215× baseline (extreme) · 6.65 ms / 6.74 ms | opengl-timer-query · 36 frames · GPU Weight Atlas · Colab T4 sweep |
| gaussian-splatting-3dgs-live | NVIDIA L4 1920x1080 | 197× baseline (extreme) · 3.14 ms / 3.21 ms · 2.1× faster on L4 | opengl-timer-query · Cross-architecture validation |
| gaussian-splatting-3dgs-live | NVIDIA A100-SXM4-40GB 1920x1080 | 151× baseline (extreme) · 4.36 ms / 4.36 ms · 1.5× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
From the citation graph (Crossref reference lists): its primary source cites Instant NGP (Multiresolution Hash Encoding), Neural Radiance Fields (NeRF), Structure-from-Motion (COLMAP); cited by CLAY, Depth Anything V2, GameNGen diffusion game engine, gsplat, Hunyuan3D 2.0, Hunyuan3D-Paint, InstantMesh, LL3M (Large Language 3D Modelers), MeshAnything, Stylized Gaussian splatting (G-Style), TRELLIS.2 (O-Voxel structured latents), TRELLIS (Structured 3D Latents).
Crosses
- Far LOD for captured splat objects: Captured objects such as trees, rocks or statues instanced by the thousand: near copies render as splats, far ones as octahedral impostors baked from those splats, giving splat scenes the LOD tail that meshes have long had.
- Splats as world-anchored brush strokes: A captured place repainted with strokes that hold still as the camera moves. Each Gaussian already is what painterly animation needs: a surface-anchored particle with colour, orientation and size, so stroke direction comes from geometry, not image gradients.
- Sort-free neural-denoised LOD Gaussian splats: Large-scale 3D Gaussian splat scenes rendered without per-frame global radix sorting. A binary LOD hierarchy caps the active splat count, stochastic alpha-to-coverage with MSAA replaces sorting with order-independent sampling, and a lightweight temporal-spatial neural denoiser cleans the resulting stipple into a stable image.
- Freeze a generated world into splats: World models generate explorable places but keep no 3D state. Record a walkthrough, recover cameras and points in one feed-forward pass, and train splats, turning a transient generated world into a persistent asset you can revisit and edit.
- Structure-from-Motion (COLMAP): COLMAP supplies the posed cameras and sparse points that seed the Gaussians.
- Segment Anything (SAM): SAM masks can be lifted to label or isolate Gaussians for editing.
Sources
- primaryBernhard Kerbl, Georgios Kopanas, Thomas Leimkuehler, George Drettakis (2023). 3D Gaussian Splatting for Real-Time Radiance Field Rendering. ACM Transactions on Graphics.Verified via crossref · 2026-11-29doi:10.1145/3592433
- primaryBernhard Kerbl, Georgios Kopanas, Thomas Leimkühler, George Drettakis (2023). 3D Gaussian Splatting for Real-Time Radiance Field Rendering. ACM Transactions on Graphics, volume 42(4), July 2023.Verified via arxiv · 2026-11-29arXiv:2308.04079
- implementationgraphdeco-inria (2023). graphdeco-inria/gaussian-splatting. Original reference implementation of "3D Gaussian Splatting for Real-Time Radiance Field Rendering"GitHub API · license NOASSERTION · 2026-11-29
- tutorialKerbl, Kopanas, Leimkuehler, Drettakis. 3D Gaussian Splatting for Real-Time Radiance Field Rendering (project page). repo-sam.inria.fr.Verified via live page · 2026-11-29