---
id: "fidelityfx-super-resolution"
title: "AMD FidelityFX Super Resolution"
aliases: [FSR]
domain: "post"
stage: "post"
realtime: "realtime"
platforms: [desktop-gpu, mobile-gpu, unity, unreal, godot]
year_introduced: 2021
inputs: [ldr-image, depth, gbuffer]
outputs: [ldr-image]
style: "both"
dynamic: "dynamic"
cost: "cheap"
authority: "GPUOpen-Effects, 2021"
url: "https://texelatlas.vercel.app/t/fidelityfx-super-resolution/"
sources_verified_at: "2026-11-29"
---
# AMD FidelityFX Super Resolution (GPUOpen-Effects, 2021)

> 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.

## 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

## 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 use it

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](https://texelatlas.vercel.app/t/dlss.md) on RTX hardware when you can accept the proprietary SDK for higher reconstruction quality. Prefer [Temporal Anti-Aliasing](https://texelatlas.vercel.app/t/temporal-anti-aliasing.md) at native resolution when no upscaling is needed.

## Cost

cheap — FSR 1 is a pair of cheap passes; the temporal versions cost more but are designed to be a net saving versus native rendering. Qualitative.
Measured GPU Weight: 146.9× baseline (extreme) — 4.8329 ms median / 4.8863 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 294.22× baseline (extreme) — 4.6781 ms median (1.03× faster on L4).
Ampere A100 scaling: 120.46× baseline (extreme) — 3.4693 ms median (1.39× faster on A100).

## Failure modes

- 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

## Engine support

- babylonjs: builtin — `new BABYLON.FSR1RenderingPipeline('fsr', scene, camera)` (evidence: https://github.com/BabylonJS/Babylon.js/blob/9.38.0/packages/dev/core/src/PostProcesses/RenderPipeline/Pipelines/fsr1RenderingPipeline.ts, checked 2026-12-01) — FSR 1 spatial upscaler only.
- godot: builtin — `Viewport.scaling_3d_mode = Viewport.SCALING_3D_MODE_FSR2 (or SCALING_3D_MODE_FSR for FSR 1)` (evidence: https://github.com/godotengine/godot/blob/4.7.2-stable/doc/classes/Viewport.xml, checked 2026-12-01) — FSR 1 in 4.0, FSR 2.2 in 4.2; Forward+ and Mobile.
- threejs: official — `import { fsr1 } from 'three/addons/tsl/display/FSR1Node.js'` (evidence: https://github.com/mrdoob/three.js/blob/r187/examples/jsm/tsl/display/FSR1Node.js, checked 2026-12-01) — FSR 1 spatial upscaler.
- unity: builtin — `URP Asset > Quality > Upscaling Filter = FidelityFX Super Resolution 1.0; HDRP: Dynamic Resolution > Upscale Filter` (evidence: https://github.com/Unity-Technologies/Graphics/blob/557f6ac22b948284f57ffae6a789751fd1f63620/Packages/com.unity.render-pipelines.universal/Runtime/Data/UniversalRenderPipelineAsset.cs, checked 2026-12-01) — FSR 1.0 in URP and HDRP; HDRP also exposes FSR2 options through its upscaler API.
- unreal: plugin — `AMD FSR plugin (third-party); plugs into the temporal upscaler interface` (evidence: https://dev.epicgames.com/documentation/en-us/unreal-engine/temporal-upscalers-in-unreal-engine, checked 2026-12-01) — Docs list FSR 2.0+ as a third-party distributed plugin.

## Dataflow

- Inputs: ldr-image, depth, gbuffer
- Outputs: ldr-image
- Platforms: desktop-gpu, mobile-gpu, unity, unreal, godot

## Presets

### AMD FidelityFX Super Resolution (FSR) — blurry bilinear upscale (left) vs EASU directional Lanczos + RCAS sharpening (right) (glsl-fragment; rendered 2026-11-30)

```json
{
  "P_UPSCALE": 2.6,
  "P_RCAS": 0.8,
  "P_EDGE_ANISO": 0.85,
  "P_SPLIT": 0.48
}
```

```glsl
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.

## Lineage

- extends [Temporal Anti-Aliasing](https://texelatlas.vercel.app/t/temporal-anti-aliasing.md)

## Combines with

- [Contrast Adaptive Sharpening](https://texelatlas.vercel.app/t/contrast-adaptive-sharpening.md): RCAS in FSR 1 is a derivative of CAS, applied after upscaling.

## Combination ideas

- [Dithered impostor forests, temporally rebuilt](https://texelatlas.vercel.app/ideas/impostor-forest-temporal-upscale/)

## Sources

1. [primary] GPUOpen-Effects (2021) GPUOpen-Effects/FidelityFX-FSR. https://github.com/GPUOpen-Effects/FidelityFX-FSR License: MIT. (verified via github on 2026-11-29)
2. [implementation] GPUOpen-LibrariesAndSDKs (2023) GPUOpen-LibrariesAndSDKs/FidelityFX-SDK. https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK (verified via github on 2026-11-29)
3. [tutorial] AMD GPUOpen GPUOpen learning resources. gpuopen.com. https://gpuopen.com/learn (verified via http on 2026-11-29)

## Cite this entry

Texel. "AMD FidelityFX Super Resolution." https://texelatlas.vercel.app/t/fidelityfx-super-resolution/ (accessed 2026-12-01).
