{
 "id": "clearcoat-layer",
 "title": "Clearcoat layer",
 "aliases": [],
 "domain": "materials",
 "subdomain": "layered BRDF",
 "stage": "material",
 "realtime": "realtime",
 "platforms": [
  "webgl2",
  "webgpu",
  "desktop-gpu",
  "mobile-gpu",
  "unity",
  "unreal",
  "godot",
  "blender"
 ],
 "year_introduced": 2012,
 "inputs": [
  "material-params",
  "normals"
 ],
 "outputs": [
  "radiance"
 ],
 "style": "photoreal",
 "dynamic": "both",
 "summary": "A second, thin dielectric specular lobe on top of a base material, used for car paint, lacquered wood and carbon fibre. Cheaply approximated as an extra GGX lobe with fixed IOR 1.5 and energy-weighted base.",
 "how_it_works": "A clearcoat models a thin transparent coating over the base layer. The coat uses its own roughness and its own, usually unperturbed, geometric normal, and a dielectric Fresnel with F0 about 0.04. The base layer is attenuated by the energy the coat reflects: base *= (1 - F_coat), plus optionally tinted by absorption through the coat for long path lengths at grazing angles. Disney added it as a fixed secondary GGX lobe with limited gloss range; Filament and glTF's KHR_materials_clearcoat follow the same idea, while OpenPBR defines a physically stacked coat with refraction of the base lobe and inter-layer scattering. Environment lighting samples a separate reflection probe lookup for the coat roughness.",
 "when_to_use": "Choose it for automotive paint, varnished wood, wet or lacquered surfaces and carbon fibre. Prefer `openpbr-surface` when you need physically correct layering with colour and transmission, and `thin-film-iridescence` for coloured interference coatings. Prefer plain roughness changes when the coat is not visibly separate.",
 "cost": {
  "class": "cheap",
  "notes": "One extra specular lobe and a second IBL fetch per pixel."
 },
 "failure_modes": [
  "Cheap implementations ignore refraction of base light through the coat, so the base looks too bright and saturated",
  "Coat sharing the base normal map shows flake or texture detail through a surface that should be smooth",
  "Double IBL lookups raise bandwidth on mobile",
  "Energy conservation is approximate when the coat tint or roughness is high"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "url:https://disneyanimation.com/publications/physically-based-shading-at-disney",
   "type": "web",
   "title": "Physically Based Shading at Disney",
   "authors": [
    "Brent Burley"
   ],
   "year": null,
   "venue": "SIGGRAPH 2012 Course",
   "url": "https://disneyanimation.com/publications/physically-based-shading-at-disney",
   "ids": {},
   "license": null,
   "extra": {
    "http_status": 200,
    "live": true,
    "archive": {
     "url": "http://web.archive.org/web/20261029215120/https://disneyanimation.com/publications/physically-based-shading-at-disney/",
     "timestamp": "20261029215120"
    },
    "page_title": "Physically Based Shading At Disney",
    "host": "disneyanimation.com",
    "title_confirmed_by_page": true,
    "title_unconfirmed": false
   },
   "provenance": {
    "title": {
     "authority": "http",
     "endpoint": "GET https://disneyanimation.com/publications/physically-based-shading-at-disney → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "http",
     "endpoint": "GET https://disneyanimation.com/publications/physically-based-shading-at-disney → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "burleyphysically"
  },
  {
   "role": "tutorial",
   "key": "url:https://google.github.io/filament/Filament.html",
   "type": "tutorial",
   "title": "Filament: Physically based rendering (image based lights section)",
   "authors": [
    "Romain Guy",
    "Mathias Agopian"
   ],
   "year": null,
   "venue": "google.github.io",
   "url": "https://google.github.io/filament/Filament.html",
   "ids": {},
   "license": null,
   "extra": {
    "http_status": 200,
    "live": true,
    "archive": {
     "url": "http://web.archive.org/web/20261105144234/https://google.github.io/filament/Filament.html",
     "timestamp": "20261105144234"
    },
    "page_title": "Redirecting...",
    "host": "google.github.io",
    "title_confirmed_by_page": false,
    "title_unconfirmed": false
   },
   "provenance": {
    "title": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "http",
     "endpoint": "GET https://google.github.io/filament/Filament.html → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "http",
     "endpoint": "GET https://google.github.io/filament/Filament.html → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 0,
   "__bib": "guyfilament"
  },
  {
   "role": "implementation",
   "key": "gh:google/filament",
   "type": "code",
   "title": "google/filament",
   "description": "Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, WebGPU, and WebGL2",
   "authors": [
    "google"
   ],
   "year": 2018,
   "venue": "GitHub",
   "url": "https://github.com/google/filament",
   "ids": {
    "repo": "google/filament"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 20815,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-11-25T07:40:17Z",
    "language": "C++",
    "homepage": "https://google.github.io/filament/",
    "license_name": "Apache License 2.0"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google/filament",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google/filament",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google/filament",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google/filament",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google/filament",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google/filament",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "google2018google"
  }
 ],
 "presets": [
  {
   "id": "clearcoat-car-paint",
   "title": "Red car paint, glossy coat",
   "runtime": "three-material",
   "params": {
    "color": "#8a0b0b",
    "roughness": 0.4,
    "metalness": 0.6,
    "clearcoat": 1,
    "clearcoatRoughness": 0.05
   },
   "basis": "original",
   "license_note": "written for this index; sensible defaults, not measured",
   "execution_fidelity": "faithful-pass",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-29",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "clearcoat-layer",
     "runtime": "three-material",
     "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.5343,
      "std": 0.1512,
      "unique_colors": 314
     },
     "image": "/specimens/clearcoat-car-paint.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "disney-principled-brdf",
  "openpbr-surface",
  "thin-film-iridescence",
  "ggx-trowbridge-reitz"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/materials/clearcoat-layer.json"
 },
 "solves": [
  "car paint needs a glossy layer over a base color",
  "second sharper highlight on top of rough surface",
  "lacquered wood or carbon fiber looks single layered",
  "varnish reflections independent of underlying bump detail"
 ],
 "authority": "Burley",
 "url": "https://texelatlas.vercel.app/t/clearcoat-layer/",
 "execution_fidelity": "faithful-pass",
 "fidelity_label": "Faithful Pass",
 "benchmark_eligible": true,
 "gpu_weight": {
  "weight_x": 2.21,
  "tier": "light",
  "p50_ms": 0.0727,
  "p95_ms": 0.0738,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 40,
  "preset_id": "clearcoat-car-paint",
  "execution_fidelity": "faithful-pass",
  "fidelity_label": "Faithful Pass",
  "benchmark_eligible": true,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 1.91,
   "tier": "feather",
   "p50_ms": 0.0304,
   "p95_ms": 0.0305,
   "speedup_x": 2.39,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 1.42,
   "tier": "feather",
   "p50_ms": 0.041,
   "p95_ms": 0.0411,
   "speedup_x": 1.77,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}