# TexelAtlas Blender 3D Look-Dev Playbook

> Compact, zero-truncation agent guide for building game-quality 3D scenes in **Blender** (Blender 4.x / 5.x (Cycles & EEVEE Next); verified against `5.2`).
> Read this BEFORE writing scene code. Every technique `slug` resolves to `https://texelatlas.vercel.app/t/<slug>.md` with verified equations, parameters, and failure modes.

## 1. Recommended Blender Pipeline Architecture

- 1. Color Management: `View Transform = AgX` (`Look = Punchy` or `Medium High Contrast`), or `Khronos PBR Neutral` for color-exact product renders.
- 2. World Shader: HDRI Environment Texture or `Nishita Sky Texture` driving both background and indirect IBL.
- 3. `Principled BSDF` (OpenPBR-aligned): author Roughness, Metallic, Coat Weight, Sheen, Subsurface, Anisotropic, and Displacement/Bump.
- 4. EEVEE Next: enable `Raytracing` (screen-trace GI & reflections), `Jittered Shadows`, and optional `Volumetrics` for atmospheric depth.

## 2. Scene Archetype Recipes (Pick 1 Technique Per Stage)

### Outdoor Architecture (`outdoor-architecture`)
Daylight or dusk exteriors, streets, plazas, buildings, and walkable outdoor spaces with crisp near-to-far shadows and atmospheric depth.
- **sky/ibl**: `hillaire-sky-atmosphere` (builtin) + `rayleigh-mie-single-scattering` (builtin) · **shadows**: `cascaded-shadow-maps` + `percentage-closer-soft-shadows` · **ao/gi**: `ground-truth-ambient-occlusion` (builtin) + `n8ao` · **materials/micro**: `clearcoat-layer` (builtin) + `parallax-occlusion-mapping` · **water/volumes**: `planar-reflections-oblique-clipping` (builtin) + `exponential-height-fog` · **post/aa**: `agx-tonemapping` (builtin) + `dual-filter-bloom` (builtin)

### Interiors, Characters & Product Look-Dev (`interior-product`)
Rooms, galleries, character portraits, and automotive/product turntables with accurate area lights, local reflections, and layered PBR materials.
- **sky/ibl**: `split-sum-ibl` (builtin) + `ltc-area-lights` (builtin) · **shadows**: `contact-shadows` (builtin) + `percentage-closer-soft-shadows` · **ao/gi**: `ground-truth-ambient-occlusion` (builtin) + `lightmap-baking` (builtin) · **materials/micro**: `disney-principled-brdf` (builtin) + `clearcoat-layer` (builtin) · **water/volumes**: `screen-space-reflections` (builtin) · **post/aa**: `khronos-pbr-neutral` (builtin) + `agx-tonemapping` (builtin)

### Sci-Fi, Cyberpunk, Space & Night Scenes (`scifi-night-neon`)
Dark moody interiors, rain-slicked neon streets, cockpits, and space environments with area lights, wet reflections, volumetric beams, and controlled HDR bloom.
- **sky/ibl**: `split-sum-ibl` (builtin) + `ltc-area-lights` (builtin) · **shadows**: `contact-shadows` (builtin) + `percentage-closer-soft-shadows` · **ao/gi**: `ground-truth-ambient-occlusion` (builtin) + `screen-space-gi` (builtin) · **materials/micro**: `anisotropic-ggx` (builtin) + `clearcoat-layer` (builtin) · **water/volumes**: `screen-space-reflections` (builtin) + `froxel-volumetric-fog` (builtin) · **post/aa**: `agx-tonemapping` (builtin) + `dual-filter-bloom` (builtin)

### Stylized, Painterly & NPR Worlds (`stylized-npr`)
Cohesive cel-shaded, anime, watercolor, ink-contour, or dithered 3D worlds with clean silhouette discipline and anti-aliased shading bands.
- **sky/ibl**: `hosek-wilkie-sky` (builtin) + `environment-mapping-cubemaps` (builtin) · **shadows**: `percentage-closer-filtering` (builtin) + `cascaded-shadow-maps` · **ao/gi**: `n8ao` + `hbao` · **materials/micro**: `toon-shading` (builtin) + `inverted-hull-outline` (builtin) · **water/volumes**: `exponential-height-fog` · **post/aa**: `kuwahara-filter` (builtin) + `agx-tonemapping` (builtin)

### Oceans, Lakes & Coastal Environments (`water-coastal`)
Open seas, rivers, pools, and shorelines combining physical Fresnel, oblique planar reflections or FFT/Gerstner waves, and caustics.
- **sky/ibl**: `hillaire-sky-atmosphere` (builtin) + `hosek-wilkie-sky` (builtin) · **shadows**: `percentage-closer-filtering` (builtin) + `cascaded-shadow-maps` · **ao/gi**: `ground-truth-ambient-occlusion` (builtin) + `n8ao` · **materials/micro**: `fresnel-schlick-approximation` (builtin) + `weathering-simulation` · **water/volumes**: `planar-reflections-oblique-clipping` (builtin) + `fft-ocean` (builtin) · **post/aa**: `agx-tonemapping` (builtin) + `dual-filter-bloom` (builtin)

### Large Terrain, Forests & Open Landscapes (`terrain-foliage`)
Wide natural vistas with anti-aliased grass and foliage, distance LOD, non-repeating rock/ground textures, clouds, and aerial perspective.
- **sky/ibl**: `hillaire-sky-atmosphere` (builtin) + `split-sum-ibl` (builtin) · **shadows**: `contact-shadows` (builtin) + `cascaded-shadow-maps` · **ao/gi**: `ground-truth-ambient-occlusion` (builtin) + `multi-bounce-ambient-occlusion` · **materials/micro**: `triplanar-mapping` (builtin) + `hashed-alpha-testing` (builtin) · **water/volumes**: `exponential-height-fog` + `nubis-volumetric-clouds` · **post/aa**: `agx-tonemapping` (builtin) + `smaa` (builtin)

## 3. Prototype Shortcuts to Avoid (Upgrade Table)

| Common Agent Shortcut | Visual Symptom | TexelAtlas Upgrade |
|---|---|---|
| Single DirectionalLight shadow frustum stretched across a large (>20m) scene | Blurry, blocky shadows up close and objects looking detached from the ground | `cascaded-shadow-maps`, `percentage-closer-soft-shadows` — Use Cascaded Shadow Maps (`CSM` in Three.js or built-in CSM in Godot/Unity/Unreal) for large worlds, or tightly fitted `PCSS` + `contact-shadows` for compact scenes, with tuned `normalBias`. |
| Uniform roughness/metalness PBR materials with default flat normal maps | Flat, plastic-looking surfaces where painted metal, glass, cloth, skin, wood, and stone read identically | `clearcoat-layer`, `parallax-occlusion-mapping`, `toksvig-mipmapping` — Separate materials physically (`MeshPhysicalMaterial` / OpenPBR `clearcoat`, `sheen`, `anisotropy`, `iridescence`, or subsurface scattering), author varied roughness/AO maps, use POM/detail normals on close-up surfaces, and add `toksvig-mipmapping` to curb specular shimmer. |
| Skipping ambient occlusion or applying heavy monochrome SSAO | Props, characters, and geometry look pasted onto floors, or bright surfaces turn muddy gray in crevices | `n8ao`, `ground-truth-ambient-occlusion`, `multi-bounce-ambient-occlusion` — Enable `N8AO` or `GTAO` (half-res depth-aware denoise) and pair with multi-bounce albedo tinting so bright crevices stay clean and natural. |
| Repeating UV textures on large floors, walls, roads, or terrain | Obvious grid/checkerboard repetition across wide surfaces | `hex-tiling`, `triplanar-mapping`, `weathering-simulation` — Break periodicity with `hex-tiling` or `triplanar-mapping` (for steep slopes/cliffs) and layer low-frequency world-space roughness/color variation. |
| Hard alphaTest cutouts or unsorted alpha-blended cards (foliage, hair, fences, decals) | Sparkling distant edges, popping silhouettes, or broken transparency sorting | `hashed-alpha-testing`, `octahedral-impostors` — Use `alphaToCoverage` + hashed alpha testing (`hashed-alpha-testing`) with MSAA for order-independent anti-aliased cutouts. |
| Flat ambient fill + uncalibrated exposure / linear sRGB clipping (no IBL) | Washed-out shadows, flat ungrounded reflections, and neon/sun highlights clipping to harsh yellow or white | `split-sum-ibl`, `agx-tonemapping`, `exponential-height-fog` — Bake your environment (HDRI, studio rig, or procedural sky) into a prefiltered IBL cubemap (`PMREM`), add subtle atmospheric depth where appropriate, and finish with `AgX` or `Khronos PBR Neutral` + selective HDR bloom (`threshold >= 0.9`). |
| Hand-rolled `sin(x)*cos(y)` surface ripples or mirror blends without Fresnel/oblique clip | Artificial repeating stripes on liquids or broken reflection clipping on glossy/mirror planes | `planar-reflections-oblique-clipping`, `screen-space-reflections`, `fresnel-schlick-approximation` — Use physical Schlick Fresnel (`F0`), Lengyel oblique near-plane clipping for flat mirrors/water, `screen-space-reflections` for wet streets/glossy floors, and multi-directional or FFT/Gerstner waves for open water. |

## 4. Blender Pitfalls & Pass Ordering

- Prefer `AgX` over legacy `Filmic` to preserve saturated highlights (neon, sunsets, fire) without harsh yellow-clipping.
- Break procedural texture repetition on wide surfaces with `Voronoi` / hex-tiling node groups + Ambient Occlusion node driving subtle crevice wear.

## 5. Top Verified Blender Built-In & Official Switches (136 total; fetch `https://texelatlas.vercel.app/t/<slug>.md`)

### Sky, IBL & GI
- **Reflection probes with parallax-corrected cubemaps** (`reflection-probes-parallax-corrected-cubemaps`) [builtin · 0.0607ms T4] — `Add > Light Probe > Sphere; Object Data > Custom Parallax`
- **Split-Sum Image-Based Lighting** (`split-sum-ibl`) [builtin · 0.0613ms T4] — `EEVEE > Light Probes (environment cubemap + split-sum GGX BRDF lookup)`
- **Hosek-Wilkie Sky Model** (`hosek-wilkie-sky`) [builtin · 0.1577ms T4] — `Sky Texture node > Sky Type = Hosek/Wilkie`
- **Environment mapping, cubemaps and skyboxes** (`environment-mapping-cubemaps`) [builtin · 0.1615ms T4] — `World > Surface > Environment Texture node`
- **Linearly Transformed Cosines for Area Lights** (`ltc-area-lights`) [builtin · 0.2775ms T4] — `EEVEE Area Light analytic lighting via Linearly Transformed Cosines`
- **Planar reflections with oblique near-plane clipping** (`planar-reflections-oblique-clipping`) [builtin · 0.6098ms T4] — `Add > Light Probe > Plane`

### Shadows & Ambient Occlusion
- **Hashed alpha testing / alpha-to-coverage for foliage** (`hashed-alpha-testing`) [builtin · 0.0744ms T4] — `EEVEE Material > Surface > Render Method = Dithered (stochastic alpha)`
- **Screen-Space Contact Shadows** (`contact-shadows`) [builtin · 0.353ms T4] — `EEVEE > Render Properties > Raytracing (screen-space raytraced contact shadows)`
- **Percentage-Closer Filtering** (`percentage-closer-filtering`) [builtin · 0.6316ms T4] — `Light Properties > Shadow > Filter (EEVEE)`
- **Ground-Truth Ambient Occlusion** (`ground-truth-ambient-occlusion`) [builtin · 1.1653ms T4] — `EEVEE Raytracing / Fast GI Approximation & Ambient Occlusion node`
- **Shadow map depth bias (constant, slope-scale, normal offset)** (`shadow-map-bias-slope-scale-normal-offset`) [builtin · 0.0325ms T4] — `EEVEE > Render Properties > Sampling > Shadows (virtual shadow maps + normal/jitter bias)`
- **Shadow Mapping** (`shadow-mapping`) [builtin · 0.0984ms T4] — `Light Properties > Shadow (EEVEE)`

### Materials, BRDF & Micro-Detail
- **Triplanar mapping** (`triplanar-mapping`) [builtin · 0.0423ms T4] — `Image Texture node > Projection = Box (with Blend)`
- **Schlick Fresnel approximation** (`fresnel-schlick-approximation`) [builtin · 0.0514ms T4] — `Shader node: Fresnel / Layer Weight, plus Principled BSDF dielectric/metallic Fresnel`
- **Anisotropic GGX** (`anisotropic-ggx`) [builtin · 0.0614ms T4] — `Principled BSDF > Specular > Anisotropic (and Anisotropic Rotation)`
- **OpenPBR Surface** (`openpbr-surface`) [builtin · 0.0625ms T4] — `Shader Editor > Add > Shader > Principled BSDF`
- **Charlie sheen (Estevez-Kulla)** (`charlie-sheen`) [builtin · 0.0669ms T4] — `Principled BSDF > Sheen > Distribution = Microfiber (or Ashikhmin)`
- **Disney principled BRDF** (`disney-principled-brdf`) [builtin · 0.0703ms T4] — `Shader Editor > Add > Shader > Principled BSDF`

### Water, Fog & Volumes
- **FFT Ocean (Tessendorf)** (`fft-ocean`) [builtin · 1.1608ms T4] — `Add Modifier > Physics > Ocean`
- **Ray-marched Rayleigh/Mie Single Scattering** (`rayleigh-mie-single-scattering`) [builtin · 1.3947ms T4] — `Sky Texture node > Sky Type = Single Scattering`
- **Screen-space Volumetric Light Scattering (God Rays)** (`volumetric-light-scattering-god-rays`) [builtin · 1.4269ms T4] — `Compositor > Add > Filter > Glare, Glare Type = Sun Beams`
- **Froxel Volumetric Fog** (`froxel-volumetric-fog`) [builtin · 11.0497ms T4] — `EEVEE Volumetrics evaluates participating media on a frustum-aligned 3D froxel grid in eevee_vo`
- **Henyey-Greenstein Phase Function** (`henyey-greenstein-phase-function`) [builtin · 0.1049ms T4] — `Shader Editor > Add > Shader > Volume Scatter > Phase = Henyey-Greenstein`
- **OpenVDB** (`openvdb`) [builtin · 0.4276ms T4] — `Add > Volume > Import OpenVDB`

### Post-Processing, Tonemapping & AA
- **AgX** (`agx-tonemapping`) [builtin · 0.0387ms T4] — `Properties > Render > Color Management > View Transform = AgX`
- **Khronos PBR Neutral tone mapper** (`khronos-pbr-neutral`) [builtin · 0.0423ms T4] — `Properties > Render > Color Management > View Transform = Khronos PBR Neutral`
- **Temporal Anti-Aliasing** (`temporal-anti-aliasing`) [builtin · 0.1956ms T4] — `Properties > Render > Sampling (EEVEE); Samples accumulate temporally`
- **SMAA** (`smaa`) [builtin · 0.2174ms T4] — `Preferences > Viewport > Quality > Viewport Anti-Aliasing (morphological screen-space AA)`
- **Screen-space reflections** (`screen-space-reflections`) [builtin · 0.5894ms T4] — `Properties > Render > Raytracing (enable) > Method = Screen-Trace`
- **Dual-filter and progressive-downsample bloom** (`dual-filter-bloom`) [builtin · 3.5692ms T4] — `Compositor > Glare node (Bloom / Fog Glow mode)`

### Stylized, Foliage & Performance
- **Inverted-hull outlines** (`inverted-hull-outline`) [builtin · 0.0752ms T4] — `Solidify modifier > Normals > Flip + Material Offset with Backface Culling`
- **Toon / cel shading with lighting ramps** (`toon-shading`) [builtin · 0.2921ms T4] — `Shader Editor > Add > Shader > Toon BSDF (or Shader to RGB + Color Ramp in EEVEE)`
- **Kuwahara filter** (`kuwahara-filter`) [builtin · 1.7843ms T4] — `Compositor > Add > Creative > Kuwahara`
- **MatCap (lit sphere) shading** (`matcap-shading`) [builtin · 0.0427ms T4] — `Viewport Shading (Workbench) > Lighting = MatCap`
- **Posterization** (`posterization`) [builtin · 0.052ms T4] — `Compositor > Add > Creative > Posterize`
- **Marching Cubes** (`marching-cubes`) [builtin · 0.123ms T4] — `Geometry Nodes > Volume > Grid to Mesh (or Volume to Mesh)`

## 6. Quantitative Look-Dev Gates & Mandatory Phase-2 Polish Pass

- **Roughness Contrast Gate:** Span `<= 0.06` (wet puddles, clearcoat, glass, polished metal) to `>= 0.88` (matte asphalt, plaster, fabric, dry bark) using paired PBR maps — never let a scene collapse into uniform `0.4–0.6` plastic.
- **Lighting & HDR Discipline:** Establish a clear warm-vs-cool focal hierarchy backed by prefiltered IBL + area lights; drive emissives at HDR `1.5–4.5` with bloom `threshold >= 0.92` so glow kisses sources without milky wash.
- **Silhouette & Framing Rule:** Never leave bare box primitives or unframed glowing rectangles; frame walls, eaves, signs, and openings with trim, bevels, conduits/cables, and grounded street/floor props, and verify curved UV orientation (`LatheGeometry` labels).
- **Mandatory Phase-2 Polish Pass:** After building v1, capture screenshots across Hero, Close-Up, and Grazing views, score all 8 checkpoints at https://texelatlas.vercel.app/guides/scene-audit.md (matching defects against https://texelatlas.vercel.app/api/v1/symptoms.json or MCP `texel_diagnose`), and execute a dedicated upgrade pass fixing your **3 weakest visual areas** before finishing.
