Mip-NeRF 360
Extends NeRF to unbounded 360-degree scenes with a scene contraction, anti-aliased conical frustum sampling and a proposal network, plus a distortion regulariser that removes floaters.
Also known as mip-NeRF 360
In the family Capture, reconstruction & splatting, neural scene representation
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | Not applicable | Offline reconstruction/generative method, not an engine feature. |
| Unity | None found | |
| Unreal 5.7 | None found | External unbounded NeRF research model; not built into Unreal Engine. |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Three ideas stack. First, rays are modelled as cone frustums and encoded with an integrated positional encoding, so far or low-resolution samples are blurred instead of aliased. Second, a contraction maps unbounded space into a bounded ball: points inside stay linear, outside points are squashed so infinity sits at a finite radius, letting sky and distant buildings be represented. Third, a small proposal MLP predicts coarse weights along each ray, supervised by the full model, and replaces the expensive second NeRF pass for importance sampling. A distortion loss penalises weights that are spread out along a ray, pushing density to concentrate on surfaces and suppressing fog and floaters.
When to choose it
Reach for it when
- nerf fails on large unbounded 360 captures
- background in radiance field is blurry or aliased
- floaters show up in captured scene renders
- need top-quality offline novel views of outdoor scenes
- scene extends infinitely and breaks bounded models
Choose it when you want the highest-quality offline NeRF baseline on unbounded captures and its benchmark scenes. Prefer Instant NGP (Multiresolution Hash Encoding) for speed, 3D Gaussian Splatting for real-time rendering of the same captures, and Mip-Splatting when anti-aliasing across zoom levels is the concern.
Field marks
- Slow training and rendering make iteration painful
- Residual floaters near cameras and haze at the contraction boundary
- Thin structures and distant detail are still lost because contraction squeezes background samples
- Quality depends on accurate poses and constant exposure; lighting changes bake into the field
Presets
Mip-NeRF 360 — unbounded scene contraction map (left) vs anti-aliased conical IPE 360 scene (right)
{
"P_IPE_FILTER": 0.75,
"P_CONTRACT_VIS": 1,
"P_CAM_ORBIT": 0.55,
"P_SPLIT": 0.46
}Show GLSL (101 lines)
const float P_IPE_FILTER = 0.75; // P Conical IPE [0.0, 1.5, 0.05]
const float P_CONTRACT_VIS = 1.0; // P Contraction Grid [0.2, 1.6, 0.05]
const float P_CAM_ORBIT = 0.55; // P Camera Orbit [0.0, 2.2, 0.05]
const float P_SPLIT = 0.46; // P Contraction / 360 [0.0, 1.0, 0.02]
mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }
// Mip-NeRF 360 scene contraction: identity inside ||x||<=1, maps unbounded infinity into ||x||<=2
vec3 contract360(vec3 x) {
float r = length(x);
if (r <= 1.0) return x;
return (2.0 - 1.0 / max(r, 1e-4)) * (x / max(r, 1e-4));
}
// Band-limited sinusoidal checkerboard using conical frustum variance (Integrated Positional Encoding)
float evalIPECheck(vec2 p, float coneVar) {
float att1 = exp(-0.5 * coneVar * 36.0);
float att2 = exp(-0.5 * coneVar * 144.0);
float c1 = sin(p.x * 6.0) * sin(p.y * 6.0) * att1;
float c2 = sin(p.x * 12.0) * sin(p.y * 12.0) * att2 * 0.45;
return 0.5 + 0.42 * c1 + 0.18 * c2;
}
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 isContract = screenX < split;
float ipeGain = clamp(P_IPE_FILTER, 0.0, 1.8);
float gridGain = clamp(P_CONTRACT_VIS, 0.1, 1.8);
float spin = iTime * max(P_CAM_ORBIT, 0.0);
vec3 ro = vec3(0.0, 0.52, 2.15);
vec3 rd = normalize(vec3(uv - vec2(0.0, 0.08), -1.35));
ro.xz = rot2(spin * 0.42) * ro.xz;
rd.xz = rot2(spin * 0.42) * rd.xz;
// Unbounded 360-degree mountain horizon & twilight sky
float az = atan(rd.z, rd.x);
float mtnH = 0.06 + 0.08 * sin(az * 3.0) + 0.05 * cos(az * 7.0 + 1.2) + 0.025 * sin(az * 15.0);
vec3 sky = mix(vec3(0.95, 0.58, 0.34), vec3(0.10, 0.24, 0.52), smoothstep(-0.02, 0.48, rd.y));
vec3 col = (rd.y < mtnH && rd.y > -0.02) ? mix(vec3(0.12, 0.18, 0.30), vec3(0.28, 0.34, 0.46), smoothstep(0.0, mtnH, rd.y)) : sky;
// Intersect foreground hero sphere (at origin, R=0.52) and unbounded ground plane (y = -0.52)
float b = dot(ro, rd);
float c = dot(ro, ro) - 0.52 * 0.52;
float disc = b * b - c;
float tSph = (disc > 0.0 && (-b - sqrt(disc)) > 0.05) ? (-b - sqrt(disc)) : 1e5;
float tPl = (rd.y < -0.005) ? ((-0.52 - ro.y) / rd.y) : 1e5;
if (tPl < 0.05) tPl = 1e5;
vec3 lDir = normalize(vec3(0.62, 0.72, 0.45));
if (tSph < tPl && tSph < 1e4) {
vec3 p = ro + rd * tSph;
vec3 n = normalize(p);
float diff = max(dot(n, lDir), 0.0);
float spec = pow(max(dot(n, normalize(lDir - rd)), 0.0), 40.0);
vec3 alb = mix(vec3(0.95, 0.44, 0.24), vec3(0.98, 0.80, 0.32), 0.5 + 0.5 * sin(p.y * 10.0 + p.x * 8.0));
col = alb * (0.28 + 0.82 * diff) + vec3(1.0) * spec * 0.48;
} else if (tPl < 1e4) {
vec3 p = ro + rd * tPl;
float rWorld = length(p);
// Conical frustum radius grows linearly with ray distance t
float coneR = tPl * 0.0045 * ipeGain;
float coneVar = coneR * coneR;
if (isContract) {
// Left: Mip-NeRF 360 contracted space visualization (shows ||x||=1 core boundary + contracted radial shells!)
vec3 pc = contract360(p);
float rc = length(pc);
float unitBoundary = exp(-abs(rWorld - 1.0) * 14.0);
float shells = smoothstep(0.08, 0.02, abs(fract(rc * 6.0) - 0.5));
float spokes = smoothstep(0.06, 0.015, abs(fract(atan(pc.z, pc.x) * 12.0 / 6.2831853) - 0.5));
vec3 zoneCol = (rWorld <= 1.0)
? vec3(0.16, 0.78, 0.94)
: mix(vec3(0.18, 0.36, 0.78), vec3(0.82, 0.28, 0.76), clamp(rc - 1.0, 0.0, 1.0));
col = zoneCol * (0.25 + 0.55 * max(shells, spokes * 0.7) * gridGain);
col += vec3(1.0, 0.84, 0.24) * unitBoundary * 1.35;
col = mix(col, sky, 1.0 - exp(-tPl * 0.04));
} else {
// Right: Anti-aliased conical IPE unbounded ground plane + subtle foreground reflection
float pat = evalIPECheck(p.xz, coneVar);
vec3 gCol = mix(vec3(0.14, 0.20, 0.28), vec3(0.74, 0.78, 0.84), pat);
// Soft contact shadow under foreground orb
float sh = smoothstep(0.32, 0.78, length(p.xz));
gCol *= (0.42 + 0.58 * sh);
col = mix(gCol, sky, 1.0 - exp(-tPl * 0.055));
}
}
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 |
|---|---|---|---|
| mip-nerf-360-live | Tesla T4 1920x1080 | 3.42× baseline (light) · 0.113 ms / 0.116 ms | opengl-timer-query · 32 frames · GPU Weight Atlas · Colab T4 sweep |
| mip-nerf-360-live | NVIDIA L4 1920x1080 | 2.73× baseline (light) · 0.043 ms / 0.044 ms · 2.6× faster on L4 | opengl-timer-query · Cross-architecture validation |
| mip-nerf-360-live | NVIDIA A100-SXM4-40GB 1920x1080 | 2.05× baseline (light) · 0.059 ms / 0.059 ms · 1.9× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
From the citation graph (Crossref reference lists): its primary source cites Structure-from-Motion (COLMAP); cited by DreamGaussian, gsplat, Large Reconstruction Model (LRM), MeshAnything, Mip-Splatting, Score Distillation Sampling (DreamFusion).
Sources
- primaryJonathan T. Barron, Ben Mildenhall, Dor Verbin, Pratul P. Srinivasan, Peter Hedman (2021). Mip-NeRF 360: Unbounded Anti-Aliased Neural Radiance Fields. arXiv preprint (cs.CV).Verified via arxiv · 2026-11-29arXiv:2111.12077
- implementationgoogle-research (2022). google-research/multinerf. A Code Release for Mip-NeRF 360, Ref-NeRF, and RawNeRFGitHub API · license Apache-2.0 · archived · 2026-11-29