{
 "id": "khronos-pbr-neutral",
 "title": "Khronos PBR Neutral tone mapper",
 "aliases": [],
 "domain": "post",
 "subdomain": "tonemapping",
 "stage": "post",
 "realtime": "realtime",
 "platforms": [
  "webgl2",
  "webgpu",
  "desktop-gpu",
  "mobile-gpu",
  "blender"
 ],
 "year_introduced": 2024,
 "inputs": [
  "hdr-image"
 ],
 "outputs": [
  "ldr-image"
 ],
 "style": "photoreal",
 "dynamic": "both",
 "summary": "A tone mapper from Khronos for product and e-commerce rendering that is the identity for most colours below a knee, so base colours display as authored, and only compresses highlights.",
 "how_it_works": "The mapper works on the minimum and maximum channel. Below a start-compression threshold it applies only a small offset that handles the Fresnel-like black level, leaving colours essentially unchanged. Above the threshold, the peak channel is compressed with a smooth rational curve that asymptotes to 1, and the colour is then desaturated toward white by an amount that grows with how far the peak was compressed. The result keeps hue because compression is applied to all channels via a common scale and the desaturation blends toward the same lightness. It is a few lines of code with no matrices or LUTs, and a specification and OCIO config plus LUT are included.",
 "when_to_use": "Choose it for product configurators, glTF viewers and any case where the sRGB albedo must match a reference photo.\n\nPrefer `aces-tonemapping` or `agx-tonemapping` for cinematic scenes with strong light sources and wide dynamic range. Prefer `reinhard-tonemapping` for a minimal curve if hue fidelity is not a concern.",
 "cost": {
  "class": "cheap",
  "notes": "A few arithmetic operations per pixel."
 },
 "failure_modes": [
  "Not cinematic: low contrast and no filmic shoulder look",
  "Compresses only close to the white point, so extremely bright lights clip to white sooner",
  "Not a full display transform, so wide-gamut output needs separate handling",
  "Highlights desaturate toward white rather than shifting hue naturally"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "gh:khronosgroup/tonemapping",
   "type": "code",
   "title": "KhronosGroup/ToneMapping",
   "description": "A collection of tone mappers for the display of 3D graphics",
   "authors": [
    "KhronosGroup"
   ],
   "year": 2024,
   "venue": "GitHub",
   "url": "https://github.com/KhronosGroup/ToneMapping",
   "ids": {
    "repo": "KhronosGroup/ToneMapping"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 120,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-10-06T18:36:51Z",
    "language": "JavaScript",
    "homepage": null,
    "license_name": "Apache License 2.0"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/KhronosGroup/ToneMapping",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/KhronosGroup/ToneMapping",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/KhronosGroup/ToneMapping",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/KhronosGroup/ToneMapping",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/KhronosGroup/ToneMapping",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/KhronosGroup/ToneMapping",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "khronosgroup2024khronosgroup"
  },
  {
   "role": "implementation",
   "key": "gh:mrdoob/three.js",
   "type": "code",
   "title": "mrdoob/three.js",
   "description": "JavaScript 3D Library.",
   "authors": [
    "mrdoob"
   ],
   "year": 2010,
   "venue": "GitHub",
   "url": "https://github.com/mrdoob/three.js",
   "ids": {
    "repo": "mrdoob/three.js"
   },
   "license": "MIT",
   "extra": {
    "stars": 119718,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-11-29T11:39:51Z",
    "language": "JavaScript",
    "homepage": "https://threejs.org/",
    "license_name": "MIT License"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/three.js",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/three.js",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/three.js",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/three.js",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/three.js",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/three.js",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "mrdoob2010mrdoob"
  }
 ],
 "presets": [
  {
   "id": "three-neutral-exposure-1",
   "title": "three.js Neutral tone mapping, exposure 1.0",
   "runtime": "three-tonemap",
   "params": {
    "toneMapping": "Neutral",
    "exposure": 1
   },
   "basis": "original",
   "license_note": "written for this index",
   "execution_fidelity": "faithful-pass",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-29",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "khronos-pbr-neutral",
     "runtime": "three-tonemap",
     "checked_at": "2026-11-29T15:51:50.471Z",
     "renderer": "Chromium 145.0.7632.6 headless, WebGL2 via ANGLE/SwiftShader, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.676,
      "std": 0.132,
      "unique_colors": 83
     },
     "image": "/specimens/three-neutral-exposure-1.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "aces-tonemapping",
  "agx-tonemapping",
  "reinhard-tonemapping"
 ],
 "extends": [
  "aces-tonemapping"
 ],
 "supersedes": [],
 "combines_with": [
  {
   "id": "lut-color-grading",
   "why": "The repo ships a LUT version of the same curve for use in grading pipelines."
  }
 ],
 "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/khronos-pbr-neutral.json"
 },
 "solves": [
  "product colors shift after tone mapping",
  "ecommerce viewer must show true base colors",
  "tonemapping desaturates or hue shifts materials",
  "want hdr output that keeps albedo faithful"
 ],
 "authority": "KhronosGroup, 2024",
 "url": "https://texelatlas.vercel.app/t/khronos-pbr-neutral/",
 "execution_fidelity": "faithful-pass",
 "fidelity_label": "Faithful Pass",
 "benchmark_eligible": true,
 "gpu_weight": {
  "weight_x": 1.29,
  "tier": "feather",
  "p50_ms": 0.0423,
  "p95_ms": 0.0457,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 40,
  "preset_id": "three-neutral-exposure-1",
  "execution_fidelity": "faithful-pass",
  "fidelity_label": "Faithful Pass",
  "benchmark_eligible": true,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 1.04,
   "tier": "feather",
   "p50_ms": 0.0166,
   "p95_ms": 0.0167,
   "speedup_x": 2.55,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 1,
   "tier": "feather",
   "p50_ms": 0.0288,
   "p95_ms": 0.0288,
   "speedup_x": 1.47,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}