3D Gaussian Splatting × Octahedral impostors
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.
Open in StudioReproduced46.9× · 1.45 ms
Verified proof

Split-screen WebGL2 proof comparing a receding gallery of instanced 3D Gaussian-splat bonsai statues rendered under a fixed raw-splat budget (left, where distant copies starve into sparse flickering point dots) against hybrid near-3DGS plus splat-baked octahedral impostor far-LOD with dithered distance cross-fading (right).
Chromium Headless ANGLE/SwiftShader WebGL2 · 512x512 · preserves dense captured splat silhouettes and consistent baked lighting across deep instanced fields via splat-baked octahedral far LOD
Show GLSL proof (143 lines)
const float P_LOD_DIST = 4.20; // P Splat-to-Impostor Distance [2.0, 7.5, 0.2]
const float P_CROSSFADE = 1.25; // P Dither Crossfade Band [0.2, 2.5, 0.05]
const float P_BUDGET_CAP = 0.72; // P Baseline Splat Starvation [0.2, 1.0, 0.05]
const float P_CAM_GLIDE = 0.70; // P Camera Glide Speed [0.0, 1.5, 0.05]
float hash12(vec2 p) {
vec3 p3 = fract(vec3(p.xyx) * 0.1031);
p3 += dot(p3, p3.yzx + 33.33);
return fract((p3.x + p3.y) * p3.z);
}
// Evaluate one captured bonsai-on-plinth specimen either as full 3DGS splat cloud (near), starved splats (left far), or baked octahedral impostor (right far)
vec4 evalSpecimen(vec2 qUV, float viewYaw, float dist, float seed, bool useImpostorLOD, vec2 fragPx) {
if (abs(qUV.x) > 0.62 || abs(qUV.y) > 0.68) return vec4(0.0);
// Smooth distance band for splat -> impostor dither crossfade
float lodT = smoothstep(P_LOD_DIST - P_CROSSFADE * 0.5, P_LOD_DIST + P_CROSSFADE * 0.5, dist);
float dither = hash12(fragPx + seed * 37.0);
bool drawAsImpostor = useImpostorLOD && (lodT > dither);
// Quantized octahedral view angle when drawn as baked impostor (smooth 16x16 hemi-octahedral grid)
float yaw = drawAsImpostor ? (floor(viewYaw * 16.0 / 6.2831853 + 0.5) * 6.2831853 / 16.0) : viewYaw;
float cy = cos(yaw), sy = sin(yaw);
vec3 accum = vec3(0.0);
float alpha = 0.0;
// Base carved terracotta plinth + bonsai trunk + 10 anisotropic foliage/moss Gaussian splats
int splatCount = 13;
// On left side without impostor LOD, distant instances suffer splat-budget decimation & holes
float keepProb = (!useImpostorLOD) ? clamp(1.0 - smoothstep(2.4, 9.0, dist) * P_BUDGET_CAP, 0.22, 1.0) : 1.0;
for (int k = 0; k < 13; k++) {
float fk = float(k);
// Drop splats stochastically on starved distant raw-3DGS instances
if (!useImpostorLOD && hash12(vec2(fk + seed * 19.0, floor(dist * 2.0))) > keepProb) continue;
vec3 c3;
vec2 rad;
vec3 sCol;
if (k == 0) {
// Stone plinth
c3 = vec3(0.0, -0.44, 0.0);
rad = vec2(0.24, 0.13);
sCol = vec3(0.62, 0.54, 0.45);
} else if (k == 1 || k == 2) {
// Sculpted bonsai trunk splats
float s = float(k - 1);
c3 = vec3(0.05 * (s - 0.5), -0.22 + 0.16 * s, 0.03 * s);
rad = vec2(0.085, 0.14);
sCol = vec3(0.32, 0.22, 0.15);
} else {
// 10 multi-layered canopy & moss anisotropic Gaussians
float idx = fk - 3.0;
float a = idx * 1.28 + seed * 6.2831;
float rOrb = 0.11 + 0.14 * fract(idx * 0.37 + seed);
float yLev = -0.02 + 0.045 * idx;
c3 = vec3(cos(a) * rOrb, yLev, sin(a) * rOrb);
rad = vec2(0.165, 0.095) * (0.82 + 0.32 * fract(idx * 0.61));
// Captured sunlit shading baked into Gaussian SH color
float sunLit = 0.45 + 0.55 * clamp(c3.x * 2.2 + c3.y * 1.8 + 0.4, 0.0, 1.0);
vec3 mossA = vec3(0.14, 0.36, 0.18);
vec3 mossB = vec3(0.38, 0.50, 0.18);
sCol = mix(mossA, mossB, fract(idx * 0.29 + seed)) * (0.55 + 0.75 * sunLit);
}
// Rotate 3D splat center by specimen yaw
vec2 p2 = vec2(c3.x * cy - c3.z * sy, c3.y);
vec2 d2 = (qUV - p2) / max(rad, vec2(0.02));
// On left far raw splats, sub-pixel screen aliasing shrinks splats into noisy dots
float shrink = (!useImpostorLOD) ? (1.0 + smoothstep(3.0, 10.0, dist) * 1.65) : 1.0;
float g = exp(-dot(d2 * shrink, d2 * shrink) * (drawAsImpostor ? 1.55 : 1.75));
float sa = clamp(g * (drawAsImpostor ? 0.92 : 0.88), 0.0, 0.96);
// Front-to-back splat alpha compositing
accum += (1.0 - alpha) * sCol * sa;
alpha += (1.0 - alpha) * sa;
if (alpha > 0.97) break;
}
return vec4(accum, alpha);
}
vec3 acesTone(vec3 x) {
return clamp((x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14), 0.0, 1.0);
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
bool useImpostor = uv.x > 0.0;
vec2 suv = vec2(useImpostor ? (uv.x - 0.25) : (uv.x + 0.25), uv.y);
suv.x *= 1.85;
float sway = sin(iTime * 0.45 * P_CAM_GLIDE) * 0.45;
vec3 ro = vec3(sway, 1.15, 0.0);
vec3 rd = normalize(vec3(suv.x * 0.78, suv.y - 0.16, 1.38));
vec3 sky = mix(vec3(0.68, 0.76, 0.86), vec3(0.24, 0.44, 0.72), clamp(rd.y * 2.2 + 0.25, 0.0, 1.0));
vec3 col = sky;
// Sunlit stone garden terrace floor at y = 0
float floorT = 40.0;
if (rd.y < -0.005) {
floorT = -ro.y / rd.y;
if (floorT > 0.0 && floorT < 36.0) {
vec3 fp = ro + rd * floorT;
vec2 grid = abs(fract(fp.xz * 0.65) - 0.5);
float line = smoothstep(0.45, 0.495, max(grid.x, grid.y));
vec3 travertine = mix(vec3(0.58, 0.53, 0.46), vec3(0.44, 0.40, 0.35), line);
// Show subtle green LOD transition band line on right terrace floor
if (useImpostor) {
float lodRing = smoothstep(0.16, 0.02, abs(fp.z - P_LOD_DIST));
travertine = mix(travertine, vec3(0.24, 0.82, 0.64), lodRing * 0.38);
}
float fog = 1.0 - exp(-floorT * 0.085);
col = mix(travertine * 0.85, sky, clamp(fog, 0.0, 0.92));
}
}
// Render 5 rows x 3 columns of instanced captured bonsai specimens back-to-front
for (int row = 4; row >= 0; row--) {
float zPos = 2.4 + float(row) * 2.15;
for (int colI = -1; colI <= 1; colI++) {
float xPos = float(colI) * (1.28 + 0.12 * float(row)) + 0.18 * sin(float(row) * 1.9 + float(colI));
vec3 instPos = vec3(xPos, 0.68, zPos);
vec3 rel = instPos - ro;
// Project specimen billboard plane into ray
float tPlane = dot(rel, vec3(0.0, 0.0, 1.0)) / max(rd.z, 0.05);
if (tPlane <= 0.4 || tPlane > floorT + 0.8) continue;
vec3 hit = ro + rd * tPlane;
vec2 qUV = (hit.xy - instPos.xy) / 1.15;
float viewYaw = atan(ro.x - instPos.x, max(instPos.z - ro.z, 0.1)) + iTime * 0.25;
float seed = fract(float(row) * 0.31 + float(colI + 2) * 0.17);
vec4 sp = evalSpecimen(qUV, viewYaw, zPos, seed, useImpostor, fragCoord);
if (sp.a > 0.01) {
float fog = 1.0 - exp(-zPos * 0.085);
vec3 spCol = mix(sp.rgb / max(sp.a, 0.05), sky, clamp(fog, 0.0, 0.88));
col = mix(col, spCol, clamp(sp.a, 0.0, 1.0));
}
}
}
col = acesTone(col * 1.10);
if (abs(uv.x) < 0.003) col = vec3(0.95, 0.93, 0.89);
fragColor = vec4(pow(clamp(col, 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}Why they connect
3D Gaussian Splatting outputs gaussians for one segmented object. Octahedral impostors normally bakes from a mesh and material-params, so the hop is composite: the bake renders the gaussians themselves from directions on a hemi-octahedron, storing colour, alpha and an expected depth per texel into the atlas. At runtime the impostor writes texture and gbuffer outputs for distant instances, so the cost of sorting and blending millions of tiny far splats disappears, and a cross-fade swaps in real splats as instances come close.
How to build it
Per object, render the trained splats from a 16×16 grid of hemi-octahedral directions with an orthographic camera, writing premultiplied colour, alpha and depth (the alpha-weighted mean of splat depths). In three.js, draw far instances as impostor quads with frame blending and parallax, and near instances with a splat renderer such as Spark. Cross-fade over a distance band with dithered alpha. Splat colour already contains the captured lighting, so the impostor stays unlit and consistent with the splats. Choose the switch distance where an object covers only a small part of the screen.
Field marks
- Popping at the splat-to-impostor switch, because the two renderers blend differently.
- Expected depth from soft splats is noisy, so parallax wobbles.
- Baked lighting means instances cannot react to scene lights.
- Atlas memory grows with the number of distinct captured objects.
Prior art
No prior art found on 2026-11-29.
Searches run (4)
- arXiv: all:"gaussian splatting" AND all:"impostors" → 1 result
- GitHub repos: "gaussian splatting" impostors → 0 results
- arXiv: all:"gaussian splatting" AND all:"level of detail" AND all:"billboard" → 0 results
- GitHub repos: "gaussian splatting" "level of detail" billboard → 0 results