{
 "id": "intel-xess",
 "title": "Intel XeSS",
 "aliases": [
  "XeSS",
  "Xe Super Sampling"
 ],
 "domain": "post",
 "subdomain": "temporal upscaling",
 "stage": "post",
 "realtime": "realtime",
 "platforms": [
  "desktop-gpu",
  "unreal",
  "unity"
 ],
 "year_introduced": 2022,
 "inputs": [
  "hdr-image",
  "depth",
  "gbuffer"
 ],
 "outputs": [
  "hdr-image"
 ],
 "style": "both",
 "dynamic": "dynamic",
 "summary": "A neural temporal upscaler: given a low-resolution jittered colour frame, depth and motion vectors, it reconstructs a higher-resolution image with an ML model that runs on Intel XMX units or generic GPUs via DP4a.",
 "how_it_works": "Like other temporal super-resolution, the renderer draws at a lower internal resolution with a sub-pixel jitter each frame, and supplies colour, depth and motion vectors (plus an exposure value and a reset flag). XeSS reprojects previous high-resolution output with the motion vectors and feeds that history, together with the current jittered samples, to a convolutional network that decides per output pixel how much history to trust and how to combine it into a sharp, anti-aliased result. Quality presets (ultra quality to performance) set the internal-to-output scale. The same network ships in two forms: a full model on Intel Arc XMX matrix hardware and a lighter integer DP4a path for other vendors' GPUs. The SDK integrates through DX12, DX11 or Vulkan, and it exposes mip bias and jitter-sequence helpers for the host engine.",
 "when_to_use": "Choose it when you want vendor-agnostic ML upscaling that works on Intel hardware best and on other GPUs reasonably, or to offer a third option beside `dlss` and `fidelityfx-super-resolution`. Prefer `fidelityfx-super-resolution` for an open, non-ML spatial-temporal path with broad support, `dlss` on NVIDIA RTX for best quality and ray reconstruction, and plain `temporal-anti-aliasing` when you do not render below native resolution.",
 "cost": {
  "class": "medium",
  "notes": "Network inference at output resolution; the net frame time usually drops because internal rendering cost falls more than the upscale adds, but the gain depends on GPU and preset."
 },
 "failure_modes": [
  "Ghosting and trails on thin moving objects, particles and transparent surfaces whose motion vectors are missing",
  "Shimmering or flicker on fine repeating patterns and specular aliasing if jitter or mip bias is misconfigured",
  "Disocclusion blur at the edges of moving objects, revealed regions have no history",
  "DP4a path quality and speed lower than the XMX path, and is not identical across vendors",
  "UI and post-effects applied before upscale (or noise added to colour) get smeared"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "gh:intel/xess",
   "type": "code",
   "title": "intel/xess",
   "description": "Intel XeSS SDK",
   "authors": [
    "intel"
   ],
   "year": 2022,
   "venue": "GitHub",
   "url": "https://github.com/intel/xess",
   "ids": {
    "repo": "intel/xess"
   },
   "license": "NOASSERTION",
   "extra": {
    "stars": 1032,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-09-09T15:40:07Z",
    "language": "C",
    "homepage": "https://gamedev.intel.com/xess",
    "license_name": "Other"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/intel/xess",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/intel/xess",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/intel/xess",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/intel/xess",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/intel/xess",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/intel/xess",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "intel2022intel"
  }
 ],
 "presets": [
  {
   "id": "intel-xess-live",
   "title": "Intel XeSS — low-res jittered frame + motion vectors (left) vs temporal neural super-resolution with disocclusion clamping (right)",
   "runtime": "glsl-fragment",
   "params": {
    "P_JITTER_RES": 0.42,
    "P_TEMPORAL_W": 0.85,
    "P_FLOW_VIS": 0.45,
    "P_SPLIT": 0.48
   },
   "basis": "original",
   "license_note": "MIT — written for this index.",
   "code": "const float P_JITTER_RES = 0.42; // P Internal Scale [0.22, 0.75, 0.02]\nconst float P_TEMPORAL_W = 0.85; // P History Weight [0.2, 0.95, 0.05]\nconst float P_FLOW_VIS = 0.45; // P Motion Vector HUD [0.0, 1.0, 0.05]\nconst float P_SPLIT = 0.48; // P Input+MV / XeSS [0.0, 1.0, 0.02]\n\nvec2 rot2(vec2 p, float a) {\n  float c = cos(a);\n  float s = sin(a);\n  return vec2(c * p.x - s * p.y, s * p.x + c * p.y);\n}\n\n// Rotating multi-spoke turbine + static grid backdrop (creates strong motion vectors & disocclusions)\nvoid evalTurbine(vec2 uv, float t, out vec3 col, out vec2 mv) {\n  mv = vec2(0.0);\n  // Crisp perspective blue-slate laboratory backdrop\n  vec3 bg = mix(vec3(0.05, 0.08, 0.14), vec3(0.14, 0.24, 0.38), smoothstep(-0.5, 0.5, uv.y));\n  vec2 g = uv * 12.0;\n  float grid = max(smoothstep(0.92, 0.98, fract(g.x)), smoothstep(0.92, 0.98, fract(g.y)));\n  col = mix(bg, vec3(0.24, 0.56, 0.88), grid * 0.28);\n\n  // Orbiting satellite sphere creating disocclusion trail over grid\n  vec2 satPos = vec2(0.46 * cos(t * 0.95), 0.26 * sin(t * 1.25));\n  vec2 satVel = vec2(-0.46 * 0.95 * sin(t * 0.95), 0.26 * 1.25 * cos(t * 1.25));\n  vec2 sd = uv - satPos;\n  float sr = length(sd);\n  if (sr < 0.13) {\n    float sz = sqrt(max(0.13 * 0.13 - sr * sr, 0.0));\n    vec3 sn = normalize(vec3(sd, sz));\n    vec3 sl = normalize(vec3(0.5, 0.7, 0.5));\n    float ndl = max(dot(sn, sl), 0.0);\n    float spec = pow(max(dot(reflect(-sl, sn), vec3(0.0, 0.0, 1.0)), 0.0), 28.0);\n    col = vec3(0.22, 0.78, 1.0) * (0.25 + 0.85 * ndl) + vec3(1.1) * spec;\n    mv = satVel * 0.18;\n  }\n\n  // Central fast-spinning 12-blade metallic turbine rotor\n  float r = length(uv);\n  float omega = 1.35;\n  if (r < 0.36) {\n    vec2 rp = rot2(uv, -t * omega);\n    float ang = atan(rp.y, rp.x);\n    float blade = smoothstep(0.12, 0.26, cos(ang * 12.0 + r * 9.0));\n    float hub = smoothstep(0.11, 0.095, r);\n    float rim = smoothstep(0.015, 0.0, abs(r - 0.335) - 0.012);\n    float shade = 0.45 + 0.55 * cos(ang * 2.0 - 0.7);\n    vec3 metal = mix(vec3(0.16, 0.22, 0.30), vec3(0.84, 0.90, 0.98), blade * shade);\n    metal = mix(metal, vec3(0.12, 0.62, 1.0), rim * 0.85);\n    metal = mix(metal, vec3(0.95, 0.55, 0.16), hub * (0.65 + 0.35 * sin(ang * 4.0)));\n    float alpha = max(blade, max(hub, rim));\n    if (alpha > 0.08) {\n      col = mix(col, metal, smoothstep(0.08, 0.35, alpha));\n      // Tangential velocity motion vector of spinning blade\n      mv = vec2(-uv.y, uv.x) * omega * 0.45;\n    }\n  }\n}\n\nvec3 aces(vec3 x) {\n  x = max(x, 0.0);\n  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n  float screenX = fragCoord.x / max(iResolution.x, 1.0);\n  float split = clamp(P_SPLIT, 0.0, 1.0);\n  float scale = clamp(P_JITTER_RES, 0.20, 0.80);\n  float tempW = clamp(P_TEMPORAL_W, 0.1, 0.96);\n  float flowVis = clamp(P_FLOW_VIS, 0.0, 1.0);\n\n  vec3 col = vec3(0.0);\n  if (screenX < split) {\n    // Left: Low-resolution jittered input + subtle motion-vector direction arrows\n    float cell = max(1.0 / scale, 1.6);\n    float frameIdx = floor(iTime * 20.0);\n    vec2 jit = vec2(fract(frameIdx * 0.6180339), fract(frameIdx * 0.3247179)) - 0.5;\n    vec2 lowCoord = (floor(fragCoord / cell) + 0.5 + jit * 0.4) * cell;\n    vec2 uvLow = (lowCoord - 0.5 * iResolution.xy) / iResolution.y;\n    vec2 mv;\n    evalTurbine(uvLow, iTime, col, mv);\n\n    // Visualize per-tile motion vectors as crisp directional ticks\n    if (flowVis > 0.01) {\n      vec2 tileSize = vec2(26.0);\n      vec2 tileC = (floor(fragCoord / tileSize) + 0.5) * tileSize;\n      vec2 uvTile = (tileC - 0.5 * iResolution.xy) / iResolution.y;\n      vec3 dummy;\n      vec2 mvTile;\n      evalTurbine(uvTile, iTime, dummy, mvTile);\n      float mvMag = length(mvTile);\n      if (mvMag > 0.01) {\n        vec2 local = (fragCoord - tileC) / 13.0;\n        vec2 dir = mvTile / mvMag;\n        float proj = clamp(dot(local, dir), 0.0, min(mvMag * 3.2, 0.85));\n        float distSeg = length(local - dir * proj);\n        float arrow = smoothstep(0.11, 0.03, distSeg);\n        vec3 mvCol = vec3(0.5 + 0.5 * dir.x, 0.5 + 0.5 * dir.y, 1.0);\n        col = mix(col, mvCol * 1.4, arrow * flowVis * 0.85);\n      }\n    }\n  } else {\n    // Right: XeSS-style motion-reprojected jittered accumulation with neighborhood variance clamping\n    vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;\n    vec3 curCol;\n    vec2 curMv;\n    evalTurbine(uv, iTime, curCol, curMv);\n\n    vec3 acc = vec3(0.0);\n    float wTotal = 0.0;\n    vec3 mn = curCol;\n    vec3 mx = curCol;\n    float dtStep = 0.016;\n    for (int i = 0; i < 6; i++) {\n      float fi = float(i);\n      vec2 sub = vec2(fract(fi * 0.5 + 0.25), fract(fi * 0.3333 + 0.1667)) - 0.5;\n      vec2 uvHist = (fragCoord + sub * 0.9 - 0.5 * iResolution.xy) / iResolution.y - curMv * (fi * dtStep * 0.12);\n      vec3 hCol;\n      vec2 hMv;\n      evalTurbine(uvHist, iTime - fi * dtStep * 0.12, hCol, hMv);\n      // Disocclusion rejection when motion vector diverges from current pixel\n      float mvDiff = length(hMv - curMv);\n      float w = pow(tempW, fi) * exp(-mvDiff * 14.0);\n      acc += hCol * w;\n      wTotal += w;\n      mn = min(mn, hCol);\n      mx = max(mx, hCol);\n    }\n    col = clamp(acc / max(wTotal, 1e-4), mn * 0.95, mx * 1.05);\n  }\n\n  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));\n  col = mix(col, vec3(0.95, 0.98, 1.0), sep);\n  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);\n}",
   "execution_fidelity": "conceptual-diagram",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-30",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "intel-xess",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T21:07:13.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.5658,
      "std": 0.1586,
      "min": 0.3274,
      "max": 0.9014
     },
     "image": "/specimens/intel-xess-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "dlss",
  "fidelityfx-super-resolution",
  "temporal-anti-aliasing",
  "contrast-adaptive-sharpening",
  "neural-texture-compression"
 ],
 "extends": [
  "temporal-anti-aliasing"
 ],
 "supersedes": [],
 "combines_with": [
  {
   "id": "contrast-adaptive-sharpening",
   "why": "A light sharpening pass after upscaling restores crispness that the reconstruction softens."
  }
 ],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/post/intel-xess.json"
 },
 "solves": [
  "want to render at lower resolution and upscale with ml",
  "need an upscaler that runs on non nvidia and non amd gpus",
  "game runs below target framerate at native resolution",
  "upscaled image ghosts on thin moving objects",
  "add a third vendor upscaling option to my engine"
 ],
 "authority": "intel, 2022",
 "url": "https://texelatlas.vercel.app/t/intel-xess/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 9.29,
  "tier": "moderate",
  "p50_ms": 0.3056,
  "p95_ms": 0.3129,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 32,
  "preset_id": "intel-xess-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 8.48,
   "tier": "moderate",
   "p50_ms": 0.1349,
   "p95_ms": 0.1367,
   "speedup_x": 2.27,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 6.35,
   "tier": "moderate",
   "p50_ms": 0.183,
   "p95_ms": 0.1846,
   "speedup_x": 1.67,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}