Texel A field guide to 3D techniques

3D Gaussian Splatting × 4× MSAA Sort-Free Stochastic Gaussian Splatting × Hierarchical Binary-Tree 3DGS LOD & Paged Streaming × Lightweight WGSL Temporal-Spatial Neural Denoiser for Stochastic Splatting

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.

Open in StudioReproduced191× · 5.94 ms

3D Gaussian SplattingCapture · Real-timein: photos, camera-poses, point-cloudout: gaussiansgaussiansHierarchical Binary-Tree 3DGS LOD & Paged StreamingCapture · Real-timein: gaussians, camera-posesout: gaussians, hdr-imagegaussians4× MSAA Sort-Free Stochastic Gaussian SplattingCapture · Real-timein: gaussians, camera-posesout: hdr-image, depthhdr-imageLightweight WGSL Temporal-Spatial Neural Denoiser for Stochastic SplattingPost · Real-timein: hdr-image, depth, camera-posesout: hdr-image

Verified proof

reproduced · 2026-12-01texel-lablicense MIT
Specimen render of Sort-free neural-denoised LOD splats (left: 1-spp stochastic stipple, right: binary LOD + 4x MSAA + neural denoiser)
Cross-proof specimen. Sort-free neural-denoised LOD splats (left: 1-spp stochastic stipple, right: binary LOD + 4x MSAA + neural denoiser). Verified WebGL2 proof · 2026-12-01

Split-screen WebGL2 proof comparing raw 1-spp sort-free stochastic Gaussian splatting with severe salt-and-pepper alpha-to-coverage stipple (left) against a binary-tree LOD splat cut rasterized via 4x MSAA stochastic acceptance and reconstructed through an edge-preserving temporal-spatial neural denoiser (right).

Chromium Headless ANGLE/SwiftShader WebGL2 · 512x512 · eliminates global splat sorting and raw 1-spp stochastic stipple via binary-tree LOD cuts, 4x stochastic MSAA, and edge-preserving neural denoising

Show GLSL proof (137 lines)
const float P_LOD_CUT = 0.55; // P Binary-Tree LOD Cut [0.0, 1.0, 0.05]
const float P_DENOISE_STR = 1.00; // P Neural Denoise Strength [0.0, 1.5, 0.05]
const float P_TRANSLUCENCY = 0.72; // P Splat Opacity [0.25, 0.98, 0.02]
const float P_ORBIT_SPEED = 0.65; // P Sculpture Spin [0.0, 1.6, 0.05]

float ign(vec2 p, float f) {
  vec2 q = p + f * vec2(5.588238, 11.17647);
  return fract(52.9829189 * fract(dot(q, vec2(0.06711056, 0.00583715))));
}

// Hierarchical 3DGS sculpture: 20 overlapping anisotropic coral/glass splats (or merged LOD parents)
void evalSplatNode(int idx, float t, float lodMerge, out vec3 center, out vec3 radii, out vec3 tint, out float baseAlpha) {
  float fi = float(idx);
  float a = fi * 0.94 + t * 0.55 * P_ORBIT_SPEED;
  float elev = -0.58 + 1.16 * (fi / 19.0);
  float ringR = 0.42 * sqrt(max(1.0 - elev * elev, 0.06)) + 0.14 * sin(fi * 2.3);
  // Binary-tree parent merging pulls sibling pairs toward their shared parent centroid
  float pairIdx = floor(fi * 0.5) * 2.0 + 0.5;
  float aParent = pairIdx * 0.94 + t * 0.55 * P_ORBIT_SPEED;
  float eParent = -0.58 + 1.16 * (pairIdx / 19.0);
  float rParent = 0.42 * sqrt(max(1.0 - eParent * eParent, 0.06)) + 0.14 * sin(pairIdx * 2.3);

  vec3 leafC = vec3(cos(a) * ringR, elev * 0.68, sin(a) * ringR);
  vec3 parentC = vec3(cos(aParent) * rParent, eParent * 0.68, sin(aParent) * rParent);
  center = mix(leafC, parentC, lodMerge * 0.35);

  float baseR = mix(0.18, 0.24, lodMerge * 0.35) * (0.78 + 0.34 * fract(fi * 0.41));
  radii = vec3(baseR * 1.45, baseR * 0.85, baseR * 0.68);
  // Translucent spectral coral-to-cyan-glass palette
  vec3 cWarm = vec3(0.96, 0.38, 0.28);
  vec3 cGold = vec3(0.95, 0.74, 0.28);
  vec3 cCyan = vec3(0.20, 0.78, 0.92);
  float u = fract(fi * 0.17 + 0.12);
  tint = u < 0.5 ? mix(cWarm, cGold, u * 2.0) : mix(cGold, cCyan, (u - 0.5) * 2.0);
  baseAlpha = P_TRANSLUCENCY * (0.68 + 0.32 * fract(fi * 0.63));
}

// Single sort-free stochastic splatting sample: keeps frontmost accepted splat by Z-buffer (NO global sort!)
vec4 traceStochasticSample(vec3 ro, vec3 rd, vec2 pix, float sampleId, float t, float lodMerge, out float outDepth) {
  float bestZ = 18.0;
  vec3 bestCol = mix(vec3(0.03, 0.04, 0.07), vec3(0.11, 0.14, 0.21), clamp(rd.y * 0.9 + 0.5, 0.0, 1.0));
  // Dark reflective plinth plane at y = -0.78
  if (rd.y < -0.01) {
    float tf = (-0.78 - ro.y) / rd.y;
    if (tf > 0.0 && tf < bestZ) {
      bestZ = tf;
      vec3 fp = ro + rd * tf;
      float r2 = dot(fp.xz, fp.xz);
      float ring = smoothstep(0.85, 0.80, r2) * smoothstep(0.68, 0.74, r2);
      bestCol = vec3(0.08, 0.09, 0.12) * exp(-r2 * 0.35) + vec3(0.22, 0.36, 0.48) * ring * 0.45;
    }
  }

  vec3 L = normalize(vec3(0.55, 0.78, 0.42));
  vec3 V = -rd;

  for (int i = 0; i < 20; i++) {
    vec3 c, rad, tint; float ba;
    evalSplatNode(i, t, lodMerge, c, rad, tint, ba);
    // Closest approach of ray to anisotropic ellipsoid
    vec3 oc = ro - c;
    vec3 lo = oc / rad;
    vec3 ld = rd / rad;
    float dd = max(dot(ld, ld), 1e-5);
    float th = -dot(lo, ld) / dd;
    if (th <= 0.15 || th >= bestZ) continue;
    vec3 pm = lo + ld * th;
    float d2 = dot(pm, pm);
    if (d2 > 2.6) continue;
    float alpha = clamp(ba * exp(-d2 * 1.45), 0.0, 0.96);
    // Sort-free stochastic alpha-to-coverage acceptance test
    float rnd = ign(pix + vec2(float(i) * 13.7, float(i) * 7.3), sampleId);
    if (rnd < alpha) {
      bestZ = th;
      vec3 N = normalize(pm / rad - ld * 0.55);
      float ndl = max(dot(N, L), 0.0);
      float fres = pow(1.0 - clamp(abs(dot(N, V)), 0.0, 1.0), 3.0);
      float spec = pow(max(dot(N, normalize(L + V)), 0.0), 42.0);
      bestCol = tint * (0.28 + 1.02 * ndl) + mix(vec3(0.95), tint, 0.45) * (spec * 0.95 + fres * 0.55);
    }
  }
  outDepth = bestZ;
  return vec4(bestCol, 1.0);
}

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 denoised = uv.x > 0.0;
  vec2 suv = vec2(denoised ? (uv.x - 0.25) : (uv.x + 0.25), uv.y);
  suv.x *= 1.85;

  vec3 ro = vec3(0.0, 0.16, 2.55);
  vec3 target = vec3(0.0, -0.04, 0.0);
  vec3 fwd = normalize(target - ro);
  vec3 right = normalize(cross(vec3(0.0, 1.0, 0.0), fwd));
  vec3 up = cross(fwd, right);
  vec3 rd = normalize(fwd * 1.65 + right * suv.x + up * suv.y);

  vec3 col = vec3(0.0);
  if (!denoised) {
    // Left: raw 1-spp sort-free stochastic splatting (visible salt-and-pepper stipple noise)
    float d0;
    col = traceStochasticSample(ro, rd, fragCoord, 0.0, iTime, 0.0, d0).rgb;
  } else {
    // Right: binary-tree LOD cut + 4x MSAA stochastic coverage + depth-guided temporal-spatial neural filter
    float centerDepth;
    vec3 c0 = traceStochasticSample(ro, rd, fragCoord, 0.0, iTime, P_LOD_CUT, centerDepth).rgb;
    vec3 accum = c0;
    float wSum = 1.0;
    float stepPx = 1.25 * P_DENOISE_STR;
    // 8 spatial-temporal neighborhood taps mimicking 4x MSAA resolve + lightweight edge-preserving denoiser
    for (int k = 1; k < 9; k++) {
      float fk = float(k);
      float ang = fk * 2.399963;
      float rad = sqrt(fk / 8.0) * stepPx;
      vec2 off = vec2(cos(ang), sin(ang)) * rad;
      vec2 jSUV = suv + vec2(off.x * 1.85, off.y) / max(iResolution.y, 1.0);
      vec3 jRd = normalize(fwd * 1.65 + right * jSUV.x + up * jSUV.y);
      float dk;
      vec3 ck = traceStochasticSample(ro, jRd, fragCoord + off, fk, iTime - fk * 0.004, P_LOD_CUT, dk).rgb;
      // Depth-guided edge-preserving weight keeps silhouettes razor sharp while melting stipple
      float depthDiff = abs(dk - centerDepth);
      float w = exp(-depthDiff * 1.85) * exp(-rad * rad * 0.18);
      accum += ck * w;
      wSum += w;
    }
    col = accum / max(wSum, 1e-4);
  }

  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 provides the reconstructed anisotropic splat cloud, whose attributes can be compactly packed with Self-Organizing Gaussians (SOG) 2D Codebook Image Compression into coherent 2D grids for streaming. Hierarchical Binary-Tree 3DGS LOD & Paged Streaming organizes those gaussians into a binary tree of merged parent ellipsoids and selects a view-dependent cut in a compute pass, emitting a bounded list of active gaussians. 4× MSAA Sort-Free Stochastic Gaussian Splatting rasterizes the cut directly into an MSAA target using per-sample stochastic opacity acceptance instead of back-to-front sorting, writing noisy HDR radiance plus motion and depth guides. Lightweight WGSL Temporal-Spatial Neural Denoiser for Stochastic Splatting consumes that hdr-image and auxiliary buffers, reprojecting history and running a compact spatial-temporal filter to remove stochastic coverage noise while preserving silhouette sharpness.

How to build it

Build a WebGPU or Vulkan compute-plus-raster pipeline. Offline, merge leaf splats bottom-up into a binary hierarchy (storing bounding sphere, merged covariance, opacity, and SH coefficients per node) and optionally pack leaf/node attributes with self-organizing 2D grids to cut VRAM bandwidth. Each frame, traverse the binary tree in compute against projected screen-space error to populate an indirect draw buffer of active splats. Rasterize quads into a 4x or 8x MSAA HDR target using blue-noise or interleaved-gradient-noise stochastic acceptance against each splat's evaluated alpha, writing depth and screen-space velocity for the accepted frontmost sample. Resolve MSAA and feed the noisy color, depth, normal proxy, and motion vectors into a small temporal-spatial neural denoiser (or lightweight U-Net/MLP in cooperative matrices or WGSL) with variance-guided history clamping.

Field marks

  1. Temporal denoising lags behind fast camera whips or disocclusions, briefly revealing stochastic stipple.
  2. Parent-child LOD transitions can pop in opacity if merged Gaussians do not match leaf transmittance.
  3. Thin semi-transparent structures (glass, foliage) lose subtle layering under low-sample stochastic acceptance.
  4. Neural denoiser weights and feature buffers add fixed per-frame bandwidth that can outweigh radix-sort savings on small scenes.

Prior art

  1. WilliamLiu-1997/Gaussian-Splat-Lite. Open-source implementation combining hierarchical binary-tree 3DGS LOD, sort-free stochastic splatting with MSAA, self-organizing Gaussian compression, and temporal-spatial neural denoising; listed here as an untested Arena cross awaiting a standalone WebGL2 reproduction.