Intel Open Image Denoise (OIDN)
A library of neural-network denoisers for Monte Carlo path-traced images, taking a noisy colour image and optional albedo and normal feature images, with CPU and GPU back ends.
Also known as OIDN
In the family Post-processing, color & imaging, learned denoising
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 | Built in | Project Settings > Rendering > Lightmapping > Denoising > Denoiser = OIDN; set EditorSettings oidn_denoise_path docs Lightmap denoising only; needs the external OIDN executable. |
| Unity | Official add-on | HDRP Volume > Path Tracing > Denoising = Intel Open Image Denoise (Unity Denoising package) docs Also NVIDIA OptiX; HDRP path tracing only. |
| Unreal 5.7 | Official add-on | Path Tracer: Post Process Volume > Path Tracing > Denoiser; set r.PathTracing.Denoiser.Name = OIDN docs Default denoiser is NNE Denoiser; OIDN is selectable. |
| Blender 5.2 | Built in | Render Properties > Sampling > Render > Denoise > Denoiser = OpenImageDenoise docs Cycles; OptiX also available. |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
OIDN wraps U-Net style convolutional networks trained on pairs of noisy and high-sample-count renders. The caller creates a filter (usually the generic ray-tracing filter, RT), binds the colour buffer and, to preserve detail, auxiliary albedo and normal images, and picks high-dynamic-range or LDR mode. The network works per frame without temporal history, which keeps it stable for stills and animation without extra buffers. Auxiliary images are expected to be noise-free, so renderers supply first-hit or prefiltered features; a separate prefilter filter cleans noisy auxiliaries. Weights are shipped as built-in model files; users can load custom-trained weights. Inference runs on CPU vector units or GPUs via device back ends (SYCL, CUDA, HIP, Metal), and large images are tiled to bound memory. A cleanAux flag and quality setting trade speed for fidelity.
When to choose it
Reach for it when
- final path traced render has fireflies and grain
- need to clean up low sample count cycles-style renders
- noisy viewport preview should converge faster
- denoise a rendered frame using albedo and normal passes
- cpu only denoiser for offline path tracer output
Choose it for offline and progressive previews from a path tracer (it is the denoiser behind several DCC renderers), where per-frame quality matters more than millisecond budgets. Prefer Spatiotemporal Variance-Guided Filtering (SVGF) or NVIDIA Real-time Denoisers (ReBLUR, ReLAX) for game-frame real-time budgets with temporal reuse, and ReSTIR PT and Generalized Resampled Importance Sampling or Practical Path Guiding when you can reduce noise at the source instead of filtering it.
Field marks
- Over-smoothing of fine texture and thin geometry when albedo and normal images are missing or noisy
- Temporal flicker across animation frames, since each frame is denoised independently
- Splotchy low-frequency artifacts at very low sample counts where the input carries fireflies
- Colour shifts if the HDR/LDR mode or colour space does not match the input encoding
- Textured emissive or glossy detail can be mistaken for noise and erased
Presets
Intel Open Image Denoise (OIDN) — noisy path-traced render (left) vs albedo+normal-guided multi-scale denoising (right)
{
"P_SPP_NOISE": 0.85,
"P_AUX_GUIDE": 0.9,
"P_DETAIL_KEEP": 0.8,
"P_SPLIT": 0.48
}Show GLSL (137 lines)
const float P_SPP_NOISE = 0.85; // P Path-Trace Noise [0.15, 1.5, 0.05]
const float P_AUX_GUIDE = 0.90; // P Albedo+Normal Guide [0.0, 1.0, 0.05]
const float P_DETAIL_KEEP = 0.80; // P Texture Preservation [0.0, 1.0, 0.05]
const float P_SPLIT = 0.48; // P Noisy / OIDN [0.0, 1.0, 0.02]
float hash21(vec2 p) {
p = fract(p * vec2(127.1, 311.7));
p += dot(p, p + 34.5);
return fract(p.x * p.y);
}
// High-detail textured wood/stone/ceramic interior scene demonstrating OIDN auxiliary albedo+normal preservation
void evalOIDNScene(vec2 uv, float t, out vec3 irr, out vec3 alb, out vec3 nrm, out float dep) {
vec3 ro = vec3(0.0, 0.30, 2.25);
vec3 rd = normalize(vec3(uv.x, uv.y - 0.08, -1.48));
vec3 lightDir = normalize(vec3(0.55 * cos(t * 0.45), 0.78, 0.45));
dep = 10.0;
alb = vec3(0.18, 0.22, 0.28);
nrm = vec3(0.0, 0.0, 1.0);
irr = vec3(0.35, 0.45, 0.65);
// Textured wood plank floor
if (rd.y < -0.005) {
float tf = (-0.50 - ro.y) / rd.y;
if (tf > 0.05 && tf < dep) {
dep = tf;
vec3 hp = ro + rd * tf;
nrm = vec3(0.0, 1.0, 0.0);
float grain = 0.5 + 0.5 * sin(hp.x * 24.0 + sin(hp.z * 6.0) * 1.4);
float plank = step(0.04, fract(hp.z * 2.2));
alb = mix(vec3(0.28, 0.16, 0.09), vec3(0.58, 0.36, 0.20), grain) * (0.45 + 0.55 * plank);
float sh1 = smoothstep(0.22, 0.58, length(hp.xz - vec2(-0.24, -0.08)));
float sh2 = smoothstep(0.18, 0.46, length(hp.xz - vec2(0.42, 0.18)));
irr = vec3(1.25, 1.12, 0.94) * (0.25 + 0.85 * sh1 * sh2) + vec3(0.22, 0.30, 0.42);
}
}
// Sculpted striped marble hero sphere
vec3 sc1 = vec3(-0.20, -0.10, -0.05);
vec3 oc1 = ro - sc1;
float b1 = dot(oc1, rd), d1 = b1 * b1 - (dot(oc1, oc1) - 0.40 * 0.40);
if (d1 > 0.0) {
float ts = -b1 - sqrt(d1);
if (ts > 0.05 && ts < dep) {
dep = ts;
vec3 hp = ro + rd * ts;
nrm = normalize(hp - sc1);
// High-frequency marble veins (must survive denoising crisp via auxiliary albedo buffer!)
float vein = smoothstep(0.65, 0.92, abs(sin((hp.x * 16.0 + hp.y * 12.0) + 2.2 * sin(hp.z * 9.0))));
alb = mix(vec3(0.88, 0.86, 0.82), vec3(0.16, 0.32, 0.46), vein);
float ndl = max(dot(nrm, lightDir), 0.0);
irr = vec3(1.38, 1.24, 1.06) * ndl + vec3(0.24, 0.32, 0.44) * (0.5 + 0.5 * nrm.y) + vec3(0.32, 0.20, 0.12) * max(-nrm.y, 0.0);
}
}
// Terracotta geometric cube/vase on right
vec3 sc2 = vec3(0.42, -0.22, 0.18);
vec3 oc2 = ro - sc2;
float b2 = dot(oc2, rd), d2 = b2 * b2 - (dot(oc2, oc2) - 0.28 * 0.28);
if (d2 > 0.0) {
float ts = -b2 - sqrt(d2);
if (ts > 0.05 && ts < dep) {
dep = ts;
vec3 hp = ro + rd * ts;
nrm = normalize(hp - sc2);
float ring = step(0.5, fract(hp.y * 22.0));
alb = mix(vec3(0.84, 0.38, 0.22), vec3(0.94, 0.78, 0.46), ring * 0.55);
float ndl = max(dot(nrm, lightDir), 0.0);
irr = vec3(1.35, 1.22, 1.05) * ndl + vec3(0.22, 0.30, 0.42) * (0.5 + 0.5 * nrm.y);
}
}
}
vec3 noisyIrradiance(vec2 fc, float noiseAmp, float t, out vec3 alb, out vec3 nrm, out float dep) {
vec2 uv = (fc - 0.5 * iResolution.xy) / iResolution.y;
vec3 irr;
evalOIDNScene(uv, t, irr, alb, nrm, dep);
vec2 p = floor(fc);
float fr = floor(t * 8.0) * 0.23;
vec3 rnd = vec3(
hash21(p + vec2(fr * 19.1, 7.3)),
hash21(p + vec2(43.7, fr * 23.9)),
hash21(p + vec2(fr * 61.3, 89.1))
) - 0.5;
return max(irr + rnd * noiseAmp * (0.65 + 0.55 * irr), 0.0);
}
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) {
float screenX = fragCoord.x / max(iResolution.x, 1.0);
float split = clamp(P_SPLIT, 0.0, 1.0);
float noiseAmp = clamp(P_SPP_NOISE, 0.05, 1.6);
float auxGuide = clamp(P_AUX_GUIDE, 0.0, 1.0);
float detailKeep = clamp(P_DETAIL_KEEP, 0.0, 1.0);
vec3 cAlb, cNrm;
float cDep;
vec3 cIrr = noisyIrradiance(fragCoord, noiseAmp, iTime, cAlb, cNrm, cDep);
vec3 col = cIrr * cAlb;
if (screenX >= split) {
// Right: OIDN-style multi-scale encoder-decoder proxy using auxiliary albedo & normal feature guidance
vec3 accIrr = vec3(0.0);
vec3 accCol = vec3(0.0);
float wSum = 0.0;
// Multi-scale tap strides (1px + 3px) capturing wide low-frequency illumination cleanly
for (int j = -2; j <= 2; j++) {
for (int i = -2; i <= 2; i++) {
vec2 off = vec2(float(i), float(j)) * 2.4;
vec3 qAlb, qNrm;
float qDep;
vec3 qIrr = noisyIrradiance(fragCoord + off, noiseAmp, iTime, qAlb, qNrm, qDep);
float wN = pow(max(dot(cNrm, qNrm), 0.0), mix(1.0, 18.0, auxGuide));
float wZ = exp(-abs(cDep - qDep) * mix(0.6, 5.5, auxGuide));
float wA = exp(-dot(cAlb - qAlb, cAlb - qAlb) * mix(0.5, 6.0, auxGuide));
float wS = exp(-dot(vec2(float(i), float(j)), vec2(float(i), float(j))) * 0.22);
float w = wN * wZ * wA * wS;
accIrr += qIrr * w;
accCol += (qIrr * qAlb) * w;
wSum += w;
}
}
vec3 smoothIrr = accIrr / max(wSum, 1e-4);
vec3 smoothCol = accCol / max(wSum, 1e-4);
// Re-modulate denoised irradiance with crisp auxiliary albedo (OIDN detail preservation!)
col = mix(smoothCol, smoothIrr * cAlb, detailKeep);
}
float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
col = mix(col, vec3(0.95, 0.98, 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 |
|---|---|---|---|
| open-image-denoise-live | Tesla T4 1920x1080 | 38.5× baseline (heavy) · 1.27 ms / 1.29 ms | opengl-timer-query · 32 frames · GPU Weight Atlas · Colab T4 sweep |
| open-image-denoise-live | NVIDIA L4 1920x1080 | 35.4× baseline (heavy) · 0.563 ms / 0.565 ms · 2.3× faster on L4 | opengl-timer-query · Cross-architecture validation |
| open-image-denoise-live | NVIDIA A100-SXM4-40GB 1920x1080 | 27.3× baseline (heavy) · 0.787 ms / 0.798 ms · 1.6× faster on A100 | opengl-timer-query · Cross-architecture validation |
Crosses
- Unidirectional Path Tracing: A low-sample path-traced frame plus first-hit albedo and normal AOVs are the denoiser's inputs.
Sources
- primaryRenderKit (2019). RenderKit/oidn. Intel® Open Image Denoise libraryGitHub API · license Apache-2.0 · 2026-11-29
- tutorialIntel. Open Image Denoise documentation. openimagedenoise.org.Verified via live page · 2026-11-29