AMD FidelityFX Super Resolution
AMD's open upscaler family. FSR 1 is a spatial edge-adaptive upscale plus sharpen; FSR 2 and later reconstruct from jittered, motion-vector-reprojected frames like TAA and run on any GPU.
Also known as FSR
In the family Post-processing, color & imaging, upscaling
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | Official add-on | import { fsr1 } from 'three/addons/tsl/display/FSR1Node.js' docs FSR 1 spatial upscaler. |
| Babylon.js 9.38.0 | Built in | new BABYLON.FSR1RenderingPipeline('fsr', scene, camera) docs FSR 1 spatial upscaler only. |
| Godot 4.7 | Built in | Viewport.scaling_3d_mode = Viewport.SCALING_3D_MODE_FSR2 (or SCALING_3D_MODE_FSR for FSR 1) docs FSR 1 in 4.0, FSR 2.2 in 4.2; Forward+ and Mobile. |
| Unity | Built in | URP Asset > Quality > Upscaling Filter = FidelityFX Super Resolution 1.0; HDRP: Dynamic Resolution > Upscale Filter docs FSR 1.0 in URP and HDRP; HDRP also exposes FSR2 options through its upscaler API. |
| Unreal 5.7 | Plugin | AMD FSR plugin (third-party); plugs into the temporal upscaler interface docs Docs list FSR 2.0+ as a third-party distributed plugin. |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found | Apple equivalent: MTLFXSpatialScaler / MTLFXTemporalScaler (MetalFX). |
How it works
FSR 1 (EASU then RCAS) is purely spatial: EASU looks at a 12-tap neighbourhood, estimates edge direction and length from gradient analysis, and applies a direction-stretched Lanczos-like kernel; RCAS then sharpens with a contrast-adaptive filter. It operates on tonemapped LDR input.
FSR 2 and 3 are temporal. The renderer supplies low-resolution colour, depth, motion vectors, exposure and jitter offsets. The pass reprojects accumulated high-resolution history, validates it against depth and luminance, reconstructs thin features, locks sub-pixel detail and writes an output at display resolution. Later versions add frame generation. All variants are shaders with no vendor-specific hardware requirement.
When to choose it
Reach for it when
- need to upscale on any gpu vendor
- raise frame rate by rendering at lower resolution
- upscaler that works without motion vectors or ai hardware
- game too slow on integrated or older graphics cards
Choose it when you need a vendor-neutral upscaler that runs on consoles, integrated GPUs and mobile, or when you cannot ship an ML runtime.
Prefer NVIDIA DLSS on RTX hardware when you can accept the proprietary SDK for higher reconstruction quality. Prefer Temporal Anti-Aliasing at native resolution when no upscaling is needed.
Field marks
- FSR 1 cannot recover detail absent in the input and amplifies aliasing present in it
- Temporal versions ghost on objects lacking motion vectors
- Thin wires and particles shimmer or disappear at low scale factors
- Wrong jitter, mip bias or exposure inputs cause visible shimmer or brightness pumping
Presets
AMD FidelityFX Super Resolution (FSR) — blurry bilinear upscale (left) vs EASU directional Lanczos + RCAS sharpening (right)
{
"P_UPSCALE": 2.6,
"P_RCAS": 0.8,
"P_EDGE_ANISO": 0.85,
"P_SPLIT": 0.48
}Show GLSL (182 lines)
const float P_UPSCALE = 2.60; // P Upscale Factor [1.4, 4.5, 0.1]
const float P_RCAS = 0.80; // P RCAS Sharpen [0.0, 1.5, 0.05]
const float P_EDGE_ANISO = 0.85; // P EASU Anisotropy [0.0, 1.0, 0.05]
const float P_SPLIT = 0.48; // P Bilinear / FSR [0.0, 1.0, 0.02]
vec2 rot2(vec2 p, float a) {
float c = cos(a);
float s = sin(a);
return vec2(c * p.x - s * p.y, s * p.x + c * p.y);
}
// High-contrast crisp synthetic render target (diagonal fins, glossy badge, radial spokes)
vec3 renderSource(vec2 uv, float t) {
vec2 p = rot2(uv, 0.14 * sin(t * 0.55));
vec3 bg = mix(vec3(0.07, 0.09, 0.14), vec3(0.16, 0.22, 0.32), smoothstep(-0.5, 0.5, uv.y));
// Sharp diagonal geometric chevrons & architectural bands
float diag = sin((p.x * 18.0 + p.y * 12.0) + 0.4 * sin(t * 0.7));
float chevron = smoothstep(-0.08, 0.08, diag);
vec3 col = mix(bg, vec3(0.18, 0.34, 0.46), chevron * 0.55);
// Perspective high-contrast floor tiles
if (uv.y < -0.14) {
float z = 0.35 / max(-uv.y - 0.10, 0.02);
float x = uv.x * z;
float chk = mod(floor(x * 2.2) + floor(z * 2.2 - t * 0.8), 2.0);
vec3 tile = mix(vec3(0.10, 0.11, 0.14), vec3(0.82, 0.84, 0.88), chk);
float rim = step(0.88, fract(x * 2.2)) + step(0.88, fract(z * 2.2 - t * 0.8));
tile = mix(tile, vec3(0.95, 0.36, 0.18), clamp(rim, 0.0, 1.0) * 0.55);
col = mix(bg, tile, exp(-z * 0.14));
}
// Crisp central emblem sphere with high-contrast radial ring & diagonal blade
vec2 sp = uv - vec2(0.0, 0.06);
float r = length(sp);
if (r < 0.34) {
float nz = sqrt(max(0.34 * 0.34 - r * r, 0.0));
vec3 n = normalize(vec3(sp, nz));
vec3 l = normalize(vec3(0.6 * cos(t * 0.4), 0.7, 0.65));
float ang = atan(sp.y, sp.x) + t * 0.35;
float spoke = smoothstep(0.02, 0.12, cos(ang * 8.0));
float ring = smoothstep(0.015, 0.0, abs(r - 0.24) - 0.012);
vec3 alb = mix(vec3(0.88, 0.22, 0.14), vec3(0.96, 0.82, 0.34), spoke);
alb = mix(alb, vec3(0.98, 0.98, 1.0), ring);
float ndl = max(dot(n, l), 0.0);
float spec = pow(max(dot(reflect(-l, n), vec3(0.0, 0.0, 1.0)), 0.0), 36.0);
col = alb * (0.20 + 0.92 * ndl) + vec3(1.1) * spec;
}
// Crisp diagonal frame bars on upper corners
float bar1 = smoothstep(0.008, 0.001, abs(abs(uv.x) - 0.56 + uv.y * 0.38) - 0.016);
col = mix(col, vec3(0.96, 0.97, 1.0), bar1 * 0.9);
return col;
}
// Low-resolution quantized texel fetch (simulating low-res input texture to FSR)
vec3 fetchLow(vec2 lowTexel, float cell, float t) {
vec2 fc = (lowTexel + 0.5) * cell;
vec2 uv = (fc - 0.5 * iResolution.xy) / iResolution.y;
return renderSource(uv, t);
}
float luma(vec3 c) {
return dot(c, vec3(0.299, 0.587, 0.114));
}
// FSR-style Lanczos-2 polynomial approximation weight
float lanczos2(float d2, float lobe) {
float x = clamp(d2, 0.0, 4.0);
float w1 = (0.4 * x - 1.0);
float w2 = (0.25 * x - 1.0);
return (w1 * w1 - 0.16) * (w2 * w2) * mix(1.0, 1.15, lobe);
}
vec3 evalEASU(vec2 fragCoord, float cell, float aniso, float t) {
vec2 pos = fragCoord / cell - 0.5;
vec2 base = floor(pos);
vec2 f = pos - base;
// Fetch 4 central + cross neighbors for gradient direction & edge length estimation
vec3 c00 = fetchLow(base + vec2(0.0, 0.0), cell, t);
vec3 c10 = fetchLow(base + vec2(1.0, 0.0), cell, t);
vec3 c01 = fetchLow(base + vec2(0.0, 1.0), cell, t);
vec3 c11 = fetchLow(base + vec2(1.0, 1.0), cell, t);
vec3 cm0 = fetchLow(base + vec2(-1.0, 0.0), cell, t);
vec3 c20 = fetchLow(base + vec2(2.0, 0.0), cell, t);
vec3 c0m = fetchLow(base + vec2(0.0, -1.0), cell, t);
vec3 c02 = fetchLow(base + vec2(0.0, 2.0), cell, t);
vec3 c1m = fetchLow(base + vec2(1.0, -1.0), cell, t);
vec3 c12 = fetchLow(base + vec2(1.0, 2.0), cell, t);
vec3 cm1 = fetchLow(base + vec2(-1.0, 1.0), cell, t);
vec3 c21 = fetchLow(base + vec2(2.0, 1.0), cell, t);
// Estimate dominant local edge direction from luminance gradients
float l00 = luma(c00), l10 = luma(c10), l01 = luma(c01), l11 = luma(c11);
vec2 grad = vec2((l10 - l00) + (l11 - l01), (l01 - l00) + (l11 - l10));
float gLen = length(grad);
vec2 dir = (gLen > 1e-4) ? (grad / gLen) : vec2(1.0, 0.0);
vec2 tangent = vec2(-dir.y, dir.x);
float stretch = 1.0 + aniso * smoothstep(0.04, 0.35, gLen) * 1.35;
// 12-tap EASU elliptical Lanczos accumulation
vec3 acc = vec3(0.0);
float wSum = 0.0;
vec2 offs[12];
vec3 cols[12];
offs[0] = vec2(0.0, 0.0); cols[0] = c00;
offs[1] = vec2(1.0, 0.0); cols[1] = c10;
offs[2] = vec2(0.0, 1.0); cols[2] = c01;
offs[3] = vec2(1.0, 1.0); cols[3] = c11;
offs[4] = vec2(-1.0, 0.0); cols[4] = cm0;
offs[5] = vec2(2.0, 0.0); cols[5] = c20;
offs[6] = vec2(0.0, -1.0); cols[6] = c0m;
offs[7] = vec2(0.0, 2.0); cols[7] = c02;
offs[8] = vec2(1.0, -1.0); cols[8] = c1m;
offs[9] = vec2(1.0, 2.0); cols[9] = c12;
offs[10] = vec2(-1.0, 1.0); cols[10] = cm1;
offs[11] = vec2(2.0, 1.0); cols[11] = c21;
for (int i = 0; i < 12; i++) {
vec2 d = offs[i] - f;
float along = dot(d, tangent) / stretch;
float across = dot(d, dir) * mix(1.0, 1.35, aniso * smoothstep(0.04, 0.35, gLen));
float d2 = along * along + across * across;
float w = lanczos2(d2, aniso);
acc += cols[i] * w;
wSum += w;
}
vec3 res = acc / max(wSum, 1e-4);
// Anti-ringing clamp to inner 2x2 neighborhood min/max
vec3 lo = min(min(c00, c10), min(c01, c11));
vec3 hi = max(max(c00, c10), max(c01, c11));
return clamp(res, lo, hi);
}
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 cell = clamp(P_UPSCALE, 1.2, 5.0) * max(iResolution.y / 360.0, 1.0);
float aniso = clamp(P_EDGE_ANISO, 0.0, 1.0);
float rcas = clamp(P_RCAS, 0.0, 1.6);
vec3 col = vec3(0.0);
if (screenX < split) {
// Left: Standard bilinear upscale from low-res buffer (soft edges, blurred diagonals)
vec2 pos = fragCoord / cell - 0.5;
vec2 base = floor(pos);
vec2 f = pos - base;
vec3 c00 = fetchLow(base + vec2(0.0, 0.0), cell, iTime);
vec3 c10 = fetchLow(base + vec2(1.0, 0.0), cell, iTime);
vec3 c01 = fetchLow(base + vec2(0.0, 1.0), cell, iTime);
vec3 c11 = fetchLow(base + vec2(1.0, 1.0), cell, iTime);
col = mix(mix(c00, c10, f.x), mix(c01, c11, f.x), f.y);
} else {
// Right: EASU edge-adaptive directional upscale + RCAS contrast-adaptive sharpening
vec3 eC = evalEASU(fragCoord, cell, aniso, iTime);
vec3 eL = evalEASU(fragCoord + vec2(-1.0, 0.0), cell, aniso, iTime);
vec3 eR = evalEASU(fragCoord + vec2(1.0, 0.0), cell, aniso, iTime);
vec3 eD = evalEASU(fragCoord + vec2(0.0, -1.0), cell, aniso, iTime);
vec3 eU = evalEASU(fragCoord + vec2(0.0, 1.0), cell, aniso, iTime);
vec3 mn = min(eC, min(min(eL, eR), min(eD, eU)));
vec3 mx = max(eC, max(max(eL, eR), max(eD, eU)));
// RCAS robust adaptive negative lobe weight capped to prevent clipping halos
vec3 hitMin = min(mn, 1.0 - mx);
float amp = clamp(min(hitMin.r, min(hitMin.g, hitMin.b)) / max(max(mx.r, max(mx.g, mx.b)), 0.08), 0.0, 1.0);
float w = -0.18 * rcas * sqrt(amp + 0.15);
col = (eC + w * (eL + eR + eD + eU)) / max(1.0 + 4.0 * w, 0.25);
col = clamp(col, mn * 0.94, mx * 1.06);
}
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 |
|---|---|---|---|
| fidelityfx-super-resolution-live | Tesla T4 1920x1080 | 147× baseline (extreme) · 4.83 ms / 4.89 ms | opengl-timer-query · 32 frames · GPU Weight Atlas · Colab T4 sweep |
| fidelityfx-super-resolution-live | NVIDIA L4 1920x1080 | 294× baseline (extreme) · 4.68 ms / 4.83 ms · 1.0× faster on L4 | opengl-timer-query · Cross-architecture validation |
| fidelityfx-super-resolution-live | NVIDIA A100-SXM4-40GB 1920x1080 | 120× baseline (extreme) · 3.47 ms / 9.77 ms · 1.4× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
Crosses
- Dithered impostor forests, temporally rebuilt: Huge forests drawn as octahedral impostors at low internal resolution and rebuilt by a temporal upscaler. Instead of cross-fading three baked views per pixel, each pixel picks one view stochastically and the upscaler's history does the blending.
- Contrast Adaptive Sharpening: RCAS in FSR 1 is a derivative of CAS, applied after upscaling.
Sources
- primaryGPUOpen-Effects (2021). GPUOpen-Effects/FidelityFX-FSR. FidelityFX Super ResolutionGitHub API · license MIT · 2026-11-29
- implementationGPUOpen-LibrariesAndSDKs (2023). GPUOpen-LibrariesAndSDKs/FidelityFX-SDK. The main repository for the FidelityFX SDK.GitHub API · no license declared · 2026-11-29