{
 "id": "separable-sss",
 "title": "Separable subsurface scattering",
 "aliases": [],
 "domain": "materials",
 "subdomain": "subsurface scattering",
 "stage": "material",
 "realtime": "realtime",
 "platforms": [
  "webgl2",
  "webgpu",
  "desktop-gpu",
  "mobile-gpu",
  "unity",
  "unreal",
  "godot",
  "blender"
 ],
 "year_introduced": 2015,
 "inputs": [
  "gbuffer",
  "depth",
  "material-params"
 ],
 "outputs": [
  "radiance"
 ],
 "style": "photoreal",
 "dynamic": "dynamic",
 "summary": "Real-time screen-space SSS that replaces a full 2D diffusion blur with two 1D Gaussian-like passes (horizontal and vertical), cutting cost while matching the full profile closely. Used for skin in games.",
 "how_it_works": "After shading the diffuse irradiance of a character, the engine blurs it in screen space with the diffusion profile of skin. Jimenez et al. observe that the true kernel can be approximated as a separable product when the profile is expanded into a mean-free-path-scaled Gaussian sum, so the blur splits into a horizontal and a vertical pass, each with a modest number of taps. Sample weights and offsets are precomputed per profile (as a 1D kernel, with the central sample kept in colour-preserving RGB weights). Blur width is scaled by depth and its screen-space derivatives so scattering stays constant in world space, and masked by a stencil to skin regions. Specular is added after the blur so highlights stay crisp. A transmittance term estimates light passing through thin ears.",
 "when_to_use": "Choose it for real-time skin, wax and marble on characters in a deferred or forward+ pipeline. Prefer `christensen-burley-sss` for offline rendering where ray queries are available. Prefer texture-space SSS when you need to blur across UV islands. Combine with `normal-mapping-mikktspace` detail so microdetail is kept sharp.",
 "cost": {
  "class": "medium",
  "notes": "Two screen-space blur passes over skin pixels; scales with screen coverage and kernel tap count."
 },
 "failure_modes": [
  "Screen-space blur bleeds across depth discontinuities (ears over background, nose over cheek) unless depth-aware",
  "Colour bleed from other geometry into skin at silhouettes",
  "No light transport through thin geometry beyond the cheap transmittance term",
  "Flickering under TAA when jittered input is blurred inconsistently"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "doi:10.1111/cgf.12529",
   "type": "paper",
   "title": "Separable Subsurface Scattering",
   "authors": [
    "Jorge Jimenez",
    "Károly Zsolnai",
    "Adrian Jarabo",
    "Christian Freude",
    "Thomas Auzinger",
    "Xian‐Chun Wu",
    "Javier von der Pahlen",
    "Michael Wimmer",
    "Diego Gutierrez"
   ],
   "year": 2015,
   "venue": "Computer Graphics Forum",
   "url": "https://doi.org/10.1111/cgf.12529",
   "ids": {
    "doi": "10.1111/cgf.12529"
   },
   "license": null,
   "extra": {
    "csl_type": "journal-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.12529",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.12529",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.12529",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.12529",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.12529",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "jimenez2015separable"
  },
  {
   "role": "implementation",
   "key": "gh:iryoku/separable-sss",
   "type": "code",
   "title": "iryoku/separable-sss",
   "description": "Separable Subsurface Scattering is a technique that allows to efficiently perform subsurface scattering calculations in screen space in just two passes.",
   "authors": [
    "iryoku"
   ],
   "year": 2012,
   "venue": "GitHub",
   "url": "https://github.com/iryoku/separable-sss",
   "ids": {
    "repo": "iryoku/separable-sss"
   },
   "license": "NOASSERTION",
   "extra": {
    "stars": 656,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2018-01-18T03:58:11Z",
    "language": "C++",
    "homepage": "http://www.iryoku.com/",
    "license_name": "Other"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/iryoku/separable-sss",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/iryoku/separable-sss",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/iryoku/separable-sss",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/iryoku/separable-sss",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/iryoku/separable-sss",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/iryoku/separable-sss",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "iryoku2012iryoku"
  },
  {
   "role": "dataset",
   "key": "url:https://physicallybased.info/",
   "type": "dataset",
   "title": "physicallybased.info",
   "authors": [
    "Anton Palmqvist"
   ],
   "year": null,
   "venue": "physicallybased.info",
   "url": "https://physicallybased.info/",
   "ids": {},
   "license": null,
   "extra": {
    "http_status": 200,
    "live": true,
    "archive": {
     "url": "http://web.archive.org/web/20261126071531/https://physicallybased.info/",
     "timestamp": "20261126071531"
    },
    "page_title": "Physically Based - The PBR values database",
    "host": "physicallybased.info",
    "title_confirmed_by_page": false,
    "title_unconfirmed": true
   },
   "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://physicallybased.info/ → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "http",
     "endpoint": "GET https://physicallybased.info/ → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "http",
     "endpoint": "GET https://physicallybased.info/ → 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": "palmqvistphysicallybased"
  }
 ],
 "presets": [
  {
   "id": "separable-sss-skin",
   "title": "Light skin (Fitzpatrick I) base colour",
   "runtime": "three-material",
   "params": {
    "color": "#edd1c4",
    "roughness": 0.5,
    "metalness": 0,
    "ior": 1.4
   },
   "basis": 3,
   "license_note": "written for this index; skin colour and IOR from physicallybased.info (CC0), roughness chosen here; SSS itself is a screen-space pass and is not part of MeshPhysicalMaterial",
   "execution_fidelity": "faithful-pass",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-29",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "separable-sss",
     "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.7151,
      "std": 0.0923,
      "unique_colors": 31
     },
     "image": "/specimens/separable-sss-skin.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "christensen-burley-sss",
  "disney-principled-brdf",
  "openpbr-surface"
 ],
 "extends": [
  "pre-integrated-skin-shading"
 ],
 "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/separable-sss.json"
 },
 "solves": [
  "skin looks like hard plastic or stone",
  "full screen-space diffusion blur is too slow",
  "need real-time translucent skin, wax or marble",
  "ears and nostrils should glow softly under light"
 ],
 "authority": "Jimenez et al., 2015",
 "url": "https://texelatlas.vercel.app/t/separable-sss/",
 "execution_fidelity": "faithful-pass",
 "fidelity_label": "Faithful Pass",
 "benchmark_eligible": true,
 "gpu_weight": {
  "weight_x": 2.19,
  "tier": "light",
  "p50_ms": 0.0719,
  "p95_ms": 0.0737,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 40,
  "preset_id": "separable-sss-skin",
  "execution_fidelity": "faithful-pass",
  "fidelity_label": "Faithful Pass",
  "benchmark_eligible": true,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 1.84,
   "tier": "feather",
   "p50_ms": 0.0292,
   "p95_ms": 0.0292,
   "speedup_x": 2.46,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 1.34,
   "tier": "feather",
   "p50_ms": 0.0386,
   "p95_ms": 0.0387,
   "speedup_x": 1.86,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}