# Soft sun shadows in shipped games: the bag of tricks (2026-10-26) Status: **RESEARCH** (no renderer code). Branch `shadow-practice` off main @39b705f9. It answers the owner's question: > "On soft shadows, we probably need a research round. How do deployed > engines do this? This may be an area where the answer amounts to a bunch > of strategies working in concert to get something that looks acceptable > in real games, and if so we need to know what the bag of tricks looks > like." It does not repeat the method-by-method survey (`soft-shadow-design/docs/soft-shadow-survey.md`) or the six killed rounds (edge field, screen, box coverage, LoD cone, blur, temporal). It covers what shipped titles actually combine, what each trick costs and hides, and which tricks carry over to our engine. **Evidence tags.** - **[D]** documented in a primary source (talk slides, engine docs, engine or shader source). - **[S]** secondary: a press article, forum, cvar database or someone else's summary. - **[I]** inferred: by me, from numbers or screenshots. **Method.** - Three web-research passes: AAA raster engines, RT titles, voxel games and Minecraft packs. - Source code read directly: Godot 4, Unity HDRP, Photon, Complementary, Bliss, BSL, Kappa, Sildur's, Rethinking Voxels, gvox_engine, Veloren, Bend SSS. Copies are in `logs/shadow-practice/src/` on nazrin. - Primary decks read in full: Activision *Shadows of Cold War*, Bend SSS, SotTR GTC 2019, Control (RTG II ch. 46), AMD Hybrid Shadows, MegaLights 2025, CoD MW4 VRRT 2026, TLOU2 2020. - Spot-checked against the downloaded text: Bend's 0.19 ms, Cold War's DPCF slides, Control's "two most significant lights" and RTX 3090 costs, SotTR's "nearest cascades only", MW4's clamping verdict, MegaLights' 50 % directional cap and 5.51 ms. --- ## 0. Summary **Yes, it is a bag of tricks.** No shipped title computes physically right wide penumbrae. Real games combine these layers: | layer | what ships | |---|---| | **Near field** | a small filter: a fixed world-space kernel, or a cheap contact-hardening kernel. The penumbra is **clamped** to about 0.5 m or less. | | **Contact** | detail from a short screen-space ray (0.1-1.3 ms), or from AO and GI | | **Far field** | hard, or uniformly soft, from cached, baked or amortised low-resolution data | | **Characters** | AO or capsule proxies | | **Noise** | rotated disks or 1-spp rays, cleaned up by **TAA**, or by a temporal denoiser on RT titles | | **More lights** | **one directional light gets the good path**, and the rest get less or nothing | **Five findings that matter for us:** 1. **The penumbra is clamped everywhere.** - HDRP caps the directional PCSS penumbra at **0.56 m** in world space. - Photon clamps it to its blocker-search radius, **~0.5 block**. - UE5 VSM clamps SMRT ray length and angle, and says outright that larger penumbrae cost more and warp. - Cold War rejected PCSS on gen8 at 60 Hz. It ships a **world-space kernel with "dilated PCF"** contact hardening from a single gather. - **A 4-10° sun's true penumbra is far beyond anything shipped.** Production's answer to "a big soft light" is to widen a capped blur or fade the shadow. Photon widens its penumbra 5× under cloud cover; Complementary widens its kernel in rain. 2. **Soft-looking shadows depend on temporal cleanup.** - Every PCSS/PCF path that rotates its kernel per frame relies on TAA: Godot, HDRP, Photon, Complementary, Bliss, Kappa, TLOU2 SSCT, UE SMRT. So do Teardown and every RT title. - Without TAA, packs fall back to a **small fixed deterministic kernel**: BSL's 9-tap 1-texel PCF, Complementary's 5-tap cross, Sildur's static spatial dither. That is anti-aliasing, not penumbra. 3. **Ghosting from moving casters is an unsolved production problem.** - Infinity Ward (SIGGRAPH 2026): "industry standard variance-based color clamping is simply not good enough". Their answer is temporal gradients plus extra rays where the signal changed. - SotTR shipped a **spatial-only** denoiser, so its shadows had no history to ghost. - Our temporal round's trails (0.36-0.46) are the same problem. It has no cheap shipped fix. 4. **Nobody ships N equal soft directional lights.** - Unity HDRP casts shadows from one directional light, "by design, for performance". Iris/OptiFine packs have one shadow light and swap sun↔moon at the horizon. - UE has two "atmosphere lights". Godot has up to 8, sharing one atlas, so each extra light costs the others resolution. - Control ray-traces the 2 most significant lights per pixel. MegaLights caps the directional light at 50 % of samples. Indiana Jones and Cyberpunk at launch ray-traced the sun only. - **N ≤ 8 with parity is past shipped practice.** It is affordable only with a cheap, stateless per-sun term. 5. **Our hard ray already beats production's sharp end.** - Contact shadows, capsule proxies and depth-buffer traces exist because shadow maps lack near-contact resolution and miss small casters. - Our exact per-receiver ray has neither problem, for terrain and entities alike. - The transferable tricks are therefore the **softening** ones: a fixed or capped contact-hardening filter, classification so only pixels near an edge pay, and a world-space cap. The resolution-patching ones do not transfer. **Ranked proposals for a future screening round (§6):** | rank | concert | cost per sun [I] | N = 8 [I] | look | |---|---|---|---|---| | **1** | **P1+P2: hard ray + capped, contact-hardened, plane-tested filter, stateless, run only near hard edges.** Screen a cap sweep of 1, 2, 4 and 8 voxels. **Cap 1 is "stay hard + AA"** (P1). | cap 1-2: 0.01-0.1 ms; cap 8: 0.04-2.5 ms | cap 1-2: 0.1-0.8 ms; cap 8: 0.3-20 ms | right for 0.53° out to ~7-14 m from the blocker; a clamped penumbra on big suns | | **2** | **P1 alone: stay hard + fixed ~1-voxel AA ramp.** The fallback if larger caps fail the look. | ≤ 0.05 ms | ≤ 0.4 ms | hard, with no stair-step or snap; the sun-sweep steps fade instead of popping | | **3** | **P4: free outer penumbra from the hard ray's own march**, a closest-miss term over empty-node bounds (UE DF and Rethinking Voxels style). Optionally on top of P1. | ≈ 0 extra rays, plus an invalidation widening | ≈ 0, plus invalidation | outer penumbra only; risks grid-phase blotches. Screen offline and expect a kill. | | **4** | **P3: production-shaped temporal**: the temporal round's Tu, plus a 0.5 m cap, a half-resolution soft term, temporal gradients, and an importance budget across suns. | 0.3-1.1 ms | 2.6-9 ms | physically wide penumbrae; moving-caster trails reduced but not gone; needs a sun budget | The owner decisions are in §7. The main one is the cap: how much physical penumbra a 4-8° sun must show, against cost and N-parity. --- ## 1. Our engine, in production terms These are the facts the mapping in §5 relies on. They come from `docs/celestial-lighting.md` and the boxcov and temporal rounds. - **World shadow.** One hard ray per VSC slot toward the snapped sun direction (`CELESTIAL_SHADOW_STEP_RAD` ≈ 0.03°). It is cached and swept by period, with far cells up to 4× staler and coarser by `snapBits`. A slot covers one 1/16 m voxel near the camera, so **world shadow edges are voxel stair-steps**. A sweep step flips a whole voxel lit↔dark. - **Entity shadow.** One inline per-pixel ray every frame. - **Production's equivalent.** This is the same split as production's "cached static map + per-frame dynamic casters" (COD, DOOM, HDRP mixed cached shadows). It is already in place, and it is already per-frame-correct for moving casters. - **Large-sun cutoff.** It fades shadow *strength* between about 8° and 10°. That is itself a production-style cheat: like Photon's overcast-widening and Complementary's rain-widening, it maps "big soft light" to "weak shadow". - **Budget.** GPU p50 4.6 ms against a 6.9 ms frame, leaving 0.7-2.3 ms. There is **no TAA**. Temporal accumulation for shadows is approved under the bar: plausible by frame 1, right by about 3 frames, good within about a dozen. - **Price units** (shadow-blur §4.1 [I], ±2-3×, RX 5700, 800×600): - one 16 B tap a pixel: 0.004-0.012 ms; - one uncached hard ray a pixel: about 1.5 ms. --- ## 2. What production ships: the common recipe ### 2.1 The typical stack (raster AAA, 2016-2025) 1. **Cascades or virtual shadow maps for the sun.** - **Fixed-width PCF** is the console default: - UE4 CSM `r.Shadow.FilterMethod=0`; PCSS is "experimental"; - HDRP Low/Medium: 5×5 and 7×7 tent; - Godot's PCF path, normalised to world size per split; - Cold War: a world-space kernel derived from the light size. - Contact hardening, where it exists, is either a cheap lerp or a **clamped** PCSS: - Cold War: DPCF; - HDRP High: PCSS capped at 0.56 m; - UE5: SMRT with a clamped ray length. 2. **Contact detail** from a short screen-space ray toward the sun: - Days Gone/Bend: 0.19 ms on PS5 at 1440p; - COD IW: sun-only deferred trace; - HDRP: 0.5-1.3 ms on PS4; - UE contact shadows; - Guild Wars 2; - TLOU2 SSCT. 3. **AO and GI** darken contact in indirect light: - UE Lumen ShortRangeAO; - COD GTAO at about 0.5 ms; - TLOU2 uses min(SSAO, SSCT). 4. **Character proxies**: capsule or ellipsoid shadows (Naughty Dog since 2013, UE). 5. **A far field that is cheap and not contact-hardened**: - UE distance-field shadows at half resolution; - COD Sparse Shadow Trees, baked; - Tsushima's far atlas at 128² per 200 m; - Cyberpunk's distant levels, refreshed "every few seconds"; - CryEngine cached cascades. 6. **Static/dynamic split and update budgets**: - cache the static casters and redraw the dynamic ones; - age-sorted update caps (Cold War: 2 ms, 12-24 updates a frame). 7. **TAA or an upscaler** cleans up whatever noise the filter rotation leaves. ### 2.2 The typical stack (RT titles) - **The sun's near field is ray-traced; shadow maps cover the far field** plus translucents and foliage (SotTR, Witcher 3 NG, Control, MegaLights' VSM fallback). - **One ray per pixel, often at half or quarter resolution** (SotTR half-resolution denoise; BOCW quarter resolution). - A **hit-distance-driven, penumbra-aware filter**. It was spatial-only in SotTR. Later titles add temporal accumulation: SIGMA, the FidelityFX denoiser, Ray Reconstruction. - **Tile classification** so that lit or umbra regions skip work: - SotTR's penumbra mask; - FidelityFX's 8×4 tile mask; - AMD Hybrid Shadows (rays only in tiles a shadow-map min/max search marks uncertain); - UE `SMRT.AdaptiveRayCount`. ### 2.3 Voxel games and Minecraft packs - **Iris/OptiFine packs:** - one orthographic shadow map, 2048² over 128-256 blocks, radially distorted; - one shadow light that swaps between sun and moon; - filtering by a Vogel or R2 disk rotated per frame, plus pack TAA. - **PCSS packs** (Photon, Bliss, Kappa, Sildur's) clamp the penumbra to a small search radius. - **Teardown** (original): - one stochastic ray per pixel against a 1-bit volume; - a bilateral blur, temporal reprojection, then TAA; - grain and ghosting are the community's complaints. - Its successor engine moved to hardware RT with "sharp shadows" and DLSS Ray Reconstruction. - **gvox_engine** (Gabe Rundlett) ships **hard** sun shadows. Its soft-cone and denoiser code exists but is switched off. - **Veloren** ships a hard shadow map, plus an analytic horizon-map penumbra for far terrain. - **The only deterministic soft shadow from one march per light** that we found shipped is **Rethinking Voxels**' SDF cone trace for block lights. Its Modrinth page concedes "sudden brightness changes". --- ## 3. The bag of tricks Columns: trick · who ships it · cost · artifact traded (and whether players notice) · transfers to us? · rule conflicts. Section §4 has the citations by title. | # | trick | who ships it | cost | artifact traded; noticed? | transfers? | rule conflicts | |---|---|---|---|---|---|---| | 1 | **Fixed or world-space filter width** (no blocker search) | UE4 CSM default PCF; HDRP Low/Med tent; Godot PCF (normalised per split); Cold War world-space kernel; Complementary (fixed in distorted space); BSL (1-texel 9-tap) | a few to 16 taps; Cold War: PCSS "can't afford … gen8 at 60 Hz" [D] | uniform penumbra with no contact hardening; Complementary's blur grows with distance from the player [I]. Rarely remarked on. | **Yes**, as a fixed ~1-voxel world-space AA ramp (P1) | none if world-space; a screen-space width is view-dependent | | 2 | **Cheap contact hardening** without a search: DPCF lerps PCF toward a "curved" PCF when the occluder is close | COD Cold War [D] | "no additional tex sample, single depth gather" [D] | approximate penumbra width; "naturally reduces acne" | **Partly.** We know the exact blocker distance on shadowed pixels, so we need no search there; lit pixels still need one (P2) | none | | 3 | **Penumbra clamp** (max width) | HDRP 0.56 m world cap, plus filter ≤ 25 % of blocker distance [D, source]; Photon clamps to ~0.5 block [D, source]; UE VSM `RayLengthScaleDirectional` 1.5, `MaxRayAngleFromLight` 0.03 rad [S]; UE CSM `CSMSplitPenumbraScale` 0.5 [S] | removes the large-kernel cost tail | long shadows stay too sharp at their far end; UE notes warping without the clamp. Not noticed at a 0.5° sun, where few penumbrae reach the cap [I]. | **Yes**, and it is the main cost knob (P2) | none if world-space. A camera-distance clamp (UE) changes the look as you walk, which is view-dependent: avoid it | | 4 | **Soft near, hard or uniformly soft far** | UE CSM + DF; COD SST (3rd split baked); Tsushima far atlas; Cyberpunk distant levels; SotTR RT only in near cascades | far data at half resolution or baked | far shadows lose contact hardening; jagged edges (UE DF doc) | **Not needed.** Our hard ray already works at any distance, and a world-space cap gives the same look at every range | a distance hand-off is a mode band (screen round's "split" died on seams) | | 5 | **Cached static + per-frame dynamic** | COD (Ghosts on), DOOM 2016, UE VSM static pages, HDRP mixed cached, CryEngine | double memory (UE, HDRP); a blit (HDRP) | **stale shadows from moving things** (CryEngine: "very visible on … large wind turbines"); a moving sun invalidates all pages (UE) | **Already have** the structure (VSC world cache + inline entity ray) | a kind split (dynamic vs static) is what our rules forbid; ours splits by structure and is correct per frame for both | | 6 | **Staggered or amortised far updates** | Cyberpunk distant levels over several frames; Cold War 2 ms / 12-24 updates a frame, age-sorted, small dynamic casters dropped first | fixed budget | far shadows lag a moving sun; small casters lose shadows | **Already have** (sun-sweep periods, up to 4× far) | "small dynamic casters dropped first" breaks parity | | 7 | **Low-resolution soft term + bilateral upsample** | UE DF shadows and capsules at half resolution; SotTR half-resolution denoise; BOCW quarter-resolution RT | ¼-½ the cost | "jagged edges can still appear" (UE); BOCW RT "not even better than shadow maps 100 % of the time" [D] | **Yes, for a wide soft term only** (P3). The hard edge must stay full resolution, or P1 loses its point | none | | 8 | **Rotated per-frame kernel + TAA** | Godot, HDRP, Photon, Complementary, Bliss, Kappa, Sildur's, UE SMRT (+ texel dither 2), TLOU2 SSCT, Teardown | 6-32 taps | grain at low presets (Godot docs); UE5 "grainy and ghosting shadows" complaints [S] | **No TAA.** A shadow-only accumulator is possible but it is the temporal round's design | grain and lag at motion | | 9 | **Static pattern without TAA** | Sildur's `fract(x·0.618 + y·0.244)`; Complementary's 5-tap cross; BSL's 9 taps | small | fixed dither pattern or a tiny kernel | **Yes**, with stable bilinear taps rather than dither | none | | 10 | **Screen-space contact shadow** | Days Gone/Bend (0.19 ms PS5 1440p, 60 samples [D]); COD IW; HDRP (0.5-1.3 ms PS4); UE; GW2; TLOU2 SSCT (+0.12 ms PS4) | 0.1-1.3 ms | depth-buffer thickness guesses; seams against shadow maps (HDRP); noise when long | **Not needed**: our ray is exact at contact | none | | 11 | **AO/GI doing contact darkening** | UE Lumen ShortRangeAO, COD GTAO (~0.5 ms), TLOU2, GTA V (NVIDIA: AO "adds contact shadows") | 0.5-1.3 ms | darkens indirect light only | **Partly.** Surface GI already gives indirect occlusion. A short-range AO would ground objects inside wide penumbrae; it is a separate feature | none if computed for all geometry | | 12 | **Capsule or proxy shadows for characters** | Naughty Dog (2013 on), UE (0.29 ms first character + 0.05 ms each, R7870 1080p [D]) | small | self-shadowing unusable; hard-line artifact (UE); incompatible with VSM | **No** | **entity-vs-terrain.** The parity-respecting variant is "analytic proxies for every caster", which is the box-coverage / caster-map family (killed on cost) | | 13 | **Penumbra/tile classification** (skip lit and umbra) | AMD Hybrid Shadows (8×4 tiles, shadow-map min/max), FidelityFX denoiser tiles, SotTR penumbra mask, UE AdaptiveRayCount | a mip or min/max pass | holes if the classifier is wrong (blocker off-screen) | **Yes**: a min/max mip of the hard mask plus blocker distance, guard band = cap | none | | 14 | **Sun-only good path** | Unity HDRP (one shadowed directional light, "by design"), Iris packs, Indiana Jones (pre-Update 3), CP2077 launch, Witcher 3 NG; MegaLights directional ≤ 50 % of samples; Control: 2 most significant lights per pixel | — | other lights unshadowed or worse | **Only via a continuous importance rule** | **N-parity** (temporal round decision 3). A per-pixel importance weight is continuous, but its switching must not pop | | 15 | **Shadow swap at the horizon** (sun → moon) | Iris packs (`sunAngle < 0.5`), Unity forum advice | none | a pop at the swap | **No** | **mode shift** | | 16 | **Freeze animated casters in far shadows** | UE `Clipmap.WPODisableDistance` [S]; CryEngine per-entity `DynamicDistanceShadows` flag | saves invalidation | far foliage shadows don't sway; turbines go stale | **No** | **moving-vs-static** and per-kind flags | | 17 | **Widen or fade shadows for "big soft light"** | Photon penumbra ×5 under clouds; Complementary radius ×(1 + 4·rain²); **our large-sun cutoff fade** | ≈ 0 | physically wrong but intuitive | **Already have** (the cutoff fade) | none | | 18 | **Spatial-only denoise** (no history, no ghosting) | SotTR (GameWorks spatial, half resolution) | SotTR: RT resolve about 5 ms in their frame graph; about +10 ms at 4K on a 2080 Ti [S/I] | 1-spp noise left for TAA | **Partly**: the deterministic analogue is P1/P2's gather over the hard mask | none | | 19 | **History speed-up / temporal gradients against ghosting** | MegaLights (speed up history in proportion to how far new data falls outside the neighbourhood; disocclusion fades over 4 frames); CoD MW4 (temporal gradients, extra rays where the signal changed); SIGMA `maxStabilizedFrameNum` 5 (0 = off) | MW4: extra rays on changed pixels; SIGMA 0.40 ms at 1440p on a 4080 [D] | CoD: "variance-based color clamping is simply not good enough" [D]; RR ghosting in CP2077 [S] | **Yes for P3**, at extra ray cost | none | | 20 | **Near RT, far shadow map, short rays** | SotTR, Control (short rays), Witcher 3 NG blend | Control: 0.4-0.8 ms trace + 0.7 ms denoise, RTX 3090 1440p, local lights only [D] | a hand-off band | **No**: we have one representation | a hand-off band is a mode band | **Headline of the table.** - The tricks that **carry over** to a voxel ray tracer: 1, 2, 3, 9 and 13 (fixed or capped, contact-hardened, deterministic filtering of a hard signal, run only where it matters), and 7 and 19 if we go temporal. - The tricks that **exist to patch shadow-map resolution** (4, 10, 12, 20) are unnecessary for us. - The tricks that **save cost by kind, motion or light rank** (5's kind split, 6's small-caster drop, 14, 15, 16) are exactly what our rules forbid. --- ## 4. Per-title notes ### 4.1 Unreal Engine 5: VSM + SMRT Source: Epic, *Virtual Shadow Maps* (UE5 docs), https://dev.epicgames.com/documentation/en-us/unreal-engine/virtual-shadow-maps-in-unreal-engine [D]. Cvar defaults from unrealdirective.com and a BaseScalability.ini copy (https://gist.github.com/AltimorTASDK/2c59a9f2a69ede0c3ea2c17da0d4830b) [S]. **Structure and penumbra** - A directional clipmap of 16k² virtual pages. - The penumbra comes from SMRT rays spread over the Source Angle; the default angle is 0.5357°. - Rays per directional light by tier: 8 rays × 4 samples at High/Epic, 4 × 2 at Medium, **0 (hard) at Low**. **Penumbra clamps** [S] - `RayLengthScaleDirectional` 1.5, scaled by distance to the camera. - `MaxRayAngleFromLight` 0.03 rad. - The docs: reduce Source Angle before reducing rays; oversized penumbrae cost more and warp. **Noise** - `TexelDitherScaleDirectional` 2 plus few rays leave noise for TSR [D/S]. **Caching** - Static and dynamic pages are cached separately; this "doubles the memory cost" [S]. - Any light movement invalidates every page [D]. - WPO-animated foliage is frozen in far clipmap levels (`WPODisableDistance`) [S]. - Contact shadows are "largely unnecessary" with VSM. They stay useful only for content not in the shadow maps [D]. ### 4.2 Unreal Engine 4/5: CSM, DF shadows, capsules, contact shadows **CSM near, distance-field shadows far** [D] https://dev.epicgames.com/documentation/en-us/unreal-engine/distance-field-soft-shadows-in-unreal-engine - Distance-field shadows cover the range beyond the CSM distance. - They run at half resolution with a depth-aware upsample. TAA hides the flicker, but "jagged edges can still appear". | test (Radeon 7870, 1080p) | CSM | DF shadows | |---|---|---| | 10k units, 3 cascades | 3.1 ms | 2.3 ms | | 30k units, 6 cascades | 4.9 ms | 2.8 ms | **Capsule shadows** [D] https://dev.epicgames.com/documentation/en-us/unreal-engine/capsule-shadows-overview-in-unreal-engine - Half resolution. - About 0.29 ms for the first character and about 0.05 ms per extra one (Radeon 7870, 1080p). - Self-shadowing artifacts and a "hard line artifact" when very soft. **Contact shadows** [D] https://dev.epicgames.com/documentation/en-us/unreal-engine/contact-shadows-in-unreal-engine - Length is a fraction of the screen. The sample count is fixed, so longer rays are noisier. - Newer versions offer **Bend SSS** as a method [S]. **Two atmosphere lights** (sun and moon) [D, API docs]. We found no documented reduced tier for the second one. ### 4.3 Godot 4 (source, master) `servers/rendering/renderer_rd/renderer_scene_render_rd.cpp`, `shaders/scene_forward_lights_inc.glsl` [D]. | preset | PCSS samples (blocker = filter) | PCF samples | radius × | |---|---|---|---| | Hard | 4 | 0 | 1 | | Soft Very Low | 4 | 1 | 1.5 | | **Soft Low (default)** | 8 | 4 | 2 | | Soft Medium | 12 | 8 | 2 | | Soft High | 24 | 16 | 3 | | Soft Ultra | 32 | 32 | 4 | - **PCF path:** the kernel is scaled per split to a roughly constant world size. - **PCSS path:** active when the angular distance is above 0. Search and filter share their taps. - **Rotation:** both paths use `quick_hash(gl_FragCoord + taa_frame_count·5.588)`. - **Docs** (https://docs.godotengine.org/en/stable/tutorials/3d/lights_and_shadows.html): - recommend TAA, FSR2 or FXAA to hide the "grainy pattern"; - PCSS is "expensive … use only a handful"; - up to 8 directional lights share one atlas. ### 4.4 Unity HDRP (source + docs) `Runtime/Lighting/Shadow/HDShadowAlgorithms.hlsl`, `HDAdditionalLightData.cs` [D]. **Directional filter by quality** - Low: 5×5 tent. Medium: 7×7 tent. High: modified PCSS. **Modified PCSS** - Samples lie on a cone, whose "maximum height … clamps the penumbra size and also avoids inconsistencies between cascades". - The filter offset is at most 25 % of the blocker distance. | PCSS parameter | default | |---|---| | angular diameter | 0.5° | | blocker samples | 24 | | filter samples | 16 | | **`DirLightPCSSMaxPenumbraSize`** | **0.56 m** | | `BlockerSearchAngularDiameter` | 12° (wider than the light, against bleeding) | | rotation | IGN keyed on the TAA frame | **Cached shadows** (https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@17.0/manual/Shadows-in-HDRP.html) - Update modes: EveryFrame, OnEnable, OnDemand. - Mixed mode blits the static map into the dynamic atlas. **Contact shadows**: 0.5-1.3 ms on base PS4 at 1080p [D]. **Only one directional light casts shadows.** Seb Lagarde (HDRP): "we have made the choice in our design to not support it for performance reasons" (https://discussions.unity.com/t/2-or-more-directional-lights-simultaneously/878090) [D, staff post]. ### 4.5 Call of Duty **Infinite Warfare** (Drobot, Digital Dragons 2017, https://www.activision.com/cdn/research/2017_DD_Rendering_of_COD_IW.pdf) [D] - A static shadow cache copied into active slots, with dynamic geometry drawn over it. - A sun-only deferred screen-space trace. **Black Ops Cold War** (Myers, *Shadows of Cold War: A Scalable Approach to Shadowing*, 2021, https://www.activision.com/cdn/research/CWS.pptx) [D, read] - **Caching:** SST bakes only the 3rd sun split. The cascades use a 2-stage cache (static, then dynamic over it). - **Update budget:** capped at 2 ms and 12-24 updates a frame, age-sorted. When over budget, small dynamic casters are dropped first. - **Filter:** a **world-space kernel generated from the light size**, then "tighten the kernel to simulate contact hardening". - PCSS was rejected: "Can't afford this on gen8 at 60hz, register pressure from dependent search". - **DPCF**: "compute regular PCF, compute curved PCF, lerp to curve [when the] occluder is close … contact hardening with no additional tex sample, single depth gather … naturally reduces acne". - **RT path** (PC and gen9): - ¼-1 ray a pixel; - a 32×32 blue-noise sun-direction table; - a 0.53° disk. - A reviewer called the RT difference "subtle" (Overclock3D) [S]. **MW2019 → MW4** (Olejnik, *Variable Rate Ray Tracing in COD MW4*, SIGGRAPH 2026 Advances, https://advances.realtimerendering.com/s2026/content/SIGGRAPH2026%20-%20Micha%C5%82%20Olejnik%20-%20Variable%20Rate%20Ray%20Tracing%20in%20COD%20MW4.pdf) [D, read] - RT shadows covered local lights. BOCW traced at quarter resolution. - **Ghosting:** "lag at character contacts (shoes) … industry standard variance-based color clamping is simply not good enough". - **Fix:** temporal gradients (A-SVGF style) plus supersampling of changed pixels under a fixed ray budget. - **Gotcha:** an R8 history stuck at about 0.8 with a 64-frame history. ### 4.6 Days Gone and Bend Studio SSS Sources: - https://www.bendstudio.com/blog/inside-bend-screen-space-shadows/ - SIGGRAPH 2023 slides and code, https://www.bendstudio.com/siggraph [D, read] - "The first title to use this technique for sun light shadows". It complements the shadow maps with small detail. - **Cost: PS5, 1440p, a 60-sample shadow, full-screen coverage, 0.19 ms ±0.01.** - One screen ray per pixel maps to a 64-thread 1-D wavefront that shares depth in LDS. - **"Depth Bias":** a per-material micro-displacement of ±8 cm in the G-buffer, so flat ground self-shadows. ### 4.7 Naughty Dog **TLOU (2013)** [S]: ambient capsules and ellipsoids occlude a cone toward the dominant light. **TLOU2** (Doghramachi, SIGGRAPH 2020, https://s3.amazonaws.com/nd.images/research/2020_siggraph/LightingTechTlou2.pptx) [D, read] - Capsules also cast onto other dynamic objects. An object-ID buffer skips self-shadowing, because of "significant artifacts". - **SSCT:** a depth-buffer cone toward the dominant light. - 4 steps, jittered per frame; "TAA removes noise". - Used for dynamic-object self-shadowing. - About +0.12 ms on PS4 at 1080p (SSAO 1.15 → 1.27 ms). ### 4.8 Cyberpunk 2077 **Shadow maps** (Dybisz & Witanowski, *Shadows Optimizations in Cyberpunk 2077*, SIGGRAPH 2021 Talks, https://history.siggraph.org/wp-content/uploads/2022/06/2021-Talks-Dybisz_Shadows-Optimizations-in-Cyberpunk-2077.pdf) [D] - 4 cascades plus 4 distant levels, each 4× larger. The distant levels are rendered over several frames and "refreshed every few seconds". - Sun and moon share the scheme. **RT sun shadows** (launch) [D, PCGH interview, translated] - Sun and moon only. They soften with distance. **Later patches and path tracing** - Patch 1.5 added RT local shadows [S]. - Overdrive uses RTXDI for all lights. - Ray Reconstruction at launch ghosted on moving objects, and shadows "pop[ped] in and out" [S] (https://www.techspot.com/article/2740-dlss-35-ray-reconstruction/). **Not found:** the sun's angle, rays per pixel, the denoiser identity. ### 4.9 Other raster titles **CryEngine** (*Cached Shadows*, CE3 docs, https://www.cryengine.com/docs/static/engines/cryengine-3/categories/1114113/pages/21267738) [D] - Cached far cascades cost "almost nothing" and recenter with a one-frame stall. - Dynamic objects leave stale shadows, "very visible on … large wind turbines". The fix is a per-entity flag. **DOOM 2016** [S] (https://www.adriancourreges.com/blog/2016/09/09/doom-2016-graphics-study/) - One 8k atlas. Static depth is cached, with dynamic casters composited over it. **Ghost of Tsushima** (Patry, SIGGRAPH 2021 Advances) [D] - A far atlas at 128² per 200 m tile. **AC Unity** (Haar & Aaltonen, SIGGRAPH 2015) [D] - Per-cascade occlusion culling at about 0.1 ms on PS4. Filter details not found. **GTA V PC** [D, vendor guide] (https://www.nvidia.com/en-us/geforce/news/grand-theft-auto-v-pc-graphics-and-performance-guide/) - Shadow options: Sharp / Soft / Softer / Softest / AMD CHS / NVIDIA PCSS. Soft shadows cost up to 6.4 fps. - NVIDIA: AO "adds contact shadows". **Guild Wars 2 (2025)** [D] (https://www.guildwars2.com/news/improved-shadow-technology-lands-in-guild-wars-2-visions-of-eternity) - Poisson PCF with Gaussian weights. - Screen-space shadows for grass and small detail, with "occasional inconsistencies". **Not found:** Decima, Frostbite's soft-shadow filter, Insomniac, RDR2. ### 4.10 RT titles **Shadow of the Tomb Raider** (*"Shadows" of the Tomb Raider*, GTC 2019, https://developer.download.nvidia.com/video/gputechconf/gtc/2019/presentation/s9984-shadows-of-the-tomb-raider-ray-tracing-deep-dive.pdf) [D, read] - **Rays:** 1 per pixel, seeded by `pixel_pos % TILE_SIZE` (repeats per tile, not temporal). Ultra adds up to 2 more rays where needed. - **Hybrid split:** "Replace only nearest cascades with ray traced shadows". - **Denoiser:** a **spatial** GameWorks denoiser at half resolution, using a penumbra mask. - **TAA jitter** moved the ray origins and caused flicker; the fix was a non-jittered depth pass. - **Cost:** RT shadow resolve about 5 ms in their breakdown. RTX Ultra costs 35-40 % fps (KitGuru) [S]. **Control** (RTG II ch. 46, https://developer.download.nvidia.com/ray-tracing-gems/rtg2-chapter46-preprint.pdf) [D, read] - RT "contact shadows" for **the two most significant** point/spot lights per pixel. The sun is not included. - Short rays, 1 ray a pixel, hitT-sized Gaussian. - **Cost:** 0.4-0.8 ms trace + 0.7 ms denoise on an RTX 3090 at 1440p. **Metro Exodus EE** [D, 4A deep dive] (https://www.4a-games.com.mt/4a-dna/in-depth-technical-dive-into-metro-exodus-pc-enhanced-edition) - Direct light is rasterized. The sun is probably shadow-mapped [I]. **Witcher 3 NG** [D, vendor] - RT "blended with the game's rasterized shadows" for sun and moon. **Indiana Jones** [S, patch notes] - RT shadows from the sun only until Update 3. **MegaLights** (Narkowicz & Costa, SIGGRAPH 2025 Advances) [D, read] - **Budget:** the directional light is capped at **50 % of samples**. - **Ghosting fixes:** history sped up by the neighbourhood distance; disocclusion fades over 4 frames. - **Cost:** 5.51 ms total on PS5 at 1080p for 941 shadowed lights. **AMD Hybrid Shadows** (https://gpuopen.com/download/GPUOpen_Hybrid_Shadows.pdf) [D] - A shadow-map min/max blocker search classifies 8×4 tiles. - Rays only in uncertain tiles, with a t-interval from the map. - **No cost numbers published.** **NRD SIGMA** (https://github.com/NVIDIA-RTX/NRD) [D] - `maxStabilizedFrameNum` 5 (0 = off). - 0.40 ms on an RTX 4080 at 1440p. - Requires the true hit distance; `ACCEPT_FIRST_HIT` is not allowed. **FidelityFX shadow denoiser** [D] - The velocity buffer "does not capture shadow motion", so history is clamped to mean ± 0.5σ over 17×17. ### 4.11 Voxel engines and Minecraft packs (source read) **Photon** (sixthsurge, `6e67b36`) - **Shadow map:** 2048², 128 blocks, quartic-norm distortion. - **Blocker search:** only **3 taps**, radius about 0.5 block, halved at low sun. - **Penumbra:** `16·(z_r − z_b)/z_b`, ×(5 − 4·cloud), **clamped to the search radius**. - **PCF:** 6-12 Vogel taps with early-out after 4. It sharpens below 2 texels. - **Noise:** `r1(frameCounter)`, with TAA on by default. - **Far field:** a screen-space shadow beyond the map. - **Sun/moon:** `sunAngle < 0.5 ? sun : moon`. **Complementary Reimagined** (`c09950d`) - **No PCSS:** a fixed radius in distorted space, about 2.8 texels at 2048. It grows from about 0.07 to about 0.5 block from the player to the map edge [I]. - **Taps:** 2·N with N = 2-16 by quality, angle IGN + golden·frame. - **Without TAA:** a deterministic 5-tap or 4-tap cross. - **Rain:** widens the radius ×(1 + 4·rain²). - **Leaks:** snaps the lookup to the block centre. **BSL v10.1.8** - **Fixed 9-tap, 1-texel bilinear-compare PCF.** No noise, no PCSS. - Temporal noise only for subsurface. **Bliss** (`81e403e`) - Log distortion and a 4-sample blocker search. - The **radius buffer is bilaterally blurred** before 13-tap PCF. - `min(shadow, screen-space contact)`. **Kappa v5.3** - PCSS with the sun as a ~0.3° disc, 15 R2 taps rotated by blue noise. - 16-step contact shadows. **Sildur's** - PCSS with 8 search and 12 filter taps. - **Without TAA: a static spatial pattern** `fract(x·0.618 + y·0.244)`. **Rethinking Voxels** - **Sun:** the Complementary shadow map. - **Block lights:** an SDF cone trace `angle = min(angle, sdf/w)`, one march per light, at 1/3 resolution. - The SDF updates every 2 frames. - "Sudden brightness changes are a side effect" (Modrinth page). **Minecraft RTX** [S] - A Mojang bug (MCPE-145467): the denoiser blurs small shadows away. - BetterRTX presets shrink the sun radius (`SUN_RADIUS_MULTIPLIER`) and the filter. **The community prefers sharper sun shadows.** **Vibrant Visuals** (MicrosoftDocs `creator/Documents/VibrantVisuals/ShadowsCustomization.md`) [D] - `shadow_style` "soft_shadows" or "blocky_shadows", plus `texel_size` 16 to snap shadows to the texture grid. - Sun and moon both contribute light. **Teardown** (https://acko.net/blog/teardown-frame-teardown/) [D, analysis] - A 1-bit volume, one jittered ray per pixel, spiral bilateral blur, temporal reprojection, then TAA. - Steam complaints about grain and TAA ghosting [S]. - Gustafsson's 2024 summary: the new engine uses HW RT with "sharp shadows" and DLSS RR, "a bit aggressive in some scenarios". **gvox_engine** (`3653f0e`) - One hard RT sun ray. `if (soft && false)` disables the cone. - Its FidelityFX denoiser is off by default. **Veloren** (`c5024eb`) - A hard compare shadow map, with no PCF. - Far terrain uses a horizon-angle map with a smoothstep penumbra. **Dreams** (Evans, SIGGRAPH 2015) [D] - A cascaded "hero sun" from splatted imperfect shadow maps: "we let the TAA sort out a LOT of the noise". - A froxel light-propagation prototype for 4 hero lights was abandoned. **Not found:** John Lin, Douglas Dwyer, Lay of the Land, Enshrouded, Hytale, Vintage Story internals. --- ## 5. Mapping onto us ### 5.1 What we already have that production builds by hand | production trick | our existing equivalent | |---|---| | exact near-contact detail (contact shadows, capsules) | the per-receiver hard ray, the same for terrain and entities | | static cache + dynamic overlay (5) | the VSC world cache + the inline entity ray, both correct every frame | | amortised far updates (6) | sun-sweep periods with far cells up to 4× staler | | "big light → weaker shadow" (17) | the large-sun cutoff fade | | sun-only shadows (14) | today, by accident: light 0 only (boxcov §1.2) | ### 5.2 What production has that we cannot copy as-is - **TAA.** It is the silent partner of nearly every soft path. Without it, production's deterministic option is a small fixed kernel (BSL/Complementary/Sildur's no-TAA modes). - **A light-space depth map** to filter. Production's cheap kernels (PCF, DPCF) work because the occluder is stored in light space at its own resolution. Our hard result lives on the receivers. So we inherit the receiver-space filter's depth-break failures (shadow-blur §3). Those failures scale with the filter radius, which is another argument for a small cap. - **Cheap many-light shadows.** Nobody has them. ### 5.3 Rule check of the transferable tricks | trick | entity/terrain parity | moving/static | mode shift | gravity axis | Safari WebGPU | |---|---|---|---|---|---| | fixed / capped world-space filter on the combined hard mask (P1/P2) | **OK**: one filter on world T × entity T | OK: stateless | OK: no history, no bands | OK: the kernel is a receiver-plane ellipse along each sun's azimuth | OK: compute + storage textures; Bend-style LDS sharing works through workgroup memory (no subgroups needed) | | classification by min/max mip (13) | OK | OK | OK if the guard band ≥ cap | OK | OK | | low resolution + bilateral upsample (7), only for a wide term | OK | OK | risk: halos at depth breaks | OK | OK | | temporal gradients / history speed-up (19) | OK | **risk**: trails differ for moving casters, which is a look difference, not a rule | risk: a re-warm after a stop | OK | OK | | importance budget across suns (14) | OK | OK | **risk** if the ranking switches | OK | OK | | closest-miss over node bounds (P4) | OK | needs near-miss invalidation | OK | the node grid is axis-aligned on all three axes (no gravity special case) | OK | | capsules (12), freeze far animation (16), kind flags | **conflict** | **conflict** | — | — | — | --- ## 6. Concert proposals, ranked for a screening round Costs are [I] in the shadow-blur price units (§1), at 800×600, ±2-3×. `f` is the fraction of facing pixels within the cap of a hard edge, so they are the only ones that pay for the gather. For cap ≤ 2 voxels, `f` ≈ 1-10 % [I], to be measured. Penumbra widths use the full disk: w = d·2·tan(R/2). | sun size | full-disk width per metre of blocker distance | |---|---| | 0.53° | 0.0093 m/m: 1 voxel at 6.8 m, 2 voxels at 13.5 m, 8 voxels (0.5 m) at 54 m | | 4° | 0.070 m/m: 1 voxel at 0.9 m, 8 voxels at 7.2 m | | 8° | 0.14 m/m: 1 voxel at 0.45 m, 8 voxels at 3.6 m | ### Rank 1: P2 (with P1 as its floor), the hard ray plus a capped, contact-hardened, plane-tested filter **Recipe.** - **Keep** main's hard ray (cached world T, inline entity ray). Expose each sun's combined hard bit plus blocker distance per pixel, packed in 16 B for 8 suns. - **Classify (trick 13):** a min/max mip of the hard mask per sun. Pixels with no edge within the cap are left alone and cost nothing more. This is what makes N = 8 affordable. - **Filter the remaining pixels** with a receiver-plane ellipse along the sun's azimuth (no gravity axis) of radius `r = min(d·2tan(R/2), cap)`: - `d` on shadowed pixels is their own exact blocker distance (DPCF-like: no search); - on lit pixels, `d` comes from the shadowed neighbours by the shadow-blur round's height rule; - the filter uses that round's plane test and its ratio form `D = N/(N+C)`, which keeps umbrae exactly dark. - **Bilinear taps**, deterministic, with no rotation and no noise. This is BSL's and Complementary's no-TAA choice (tricks 1, 2, 3, 9). - **Cap:** in world units, never screen units (trick 3). **Cost.** - The tap counts are a guess for the screen to measure: a cap of 1-2 voxels needs about 16-50 taps including plane tests; a cap of 8 needs 150-700 [I]. - The 8-voxel range sits between shadow-blur's `sg_p1` and `p2`, which were priced for uncapped radii. The anisotropy of up to 11.5 at a 5° sun is what keeps it high. | cap | per sun | N = 8 | basis | |---|---|---|---| | **1 voxel (P1)** | 0.01-0.05 ms | 0.1-0.4 ms | classify 0.01-0.03 + f × 16-25 taps | | **2 voxels** | 0.02-0.1 ms | 0.15-0.8 ms | + f × 25-50 taps | | **4 voxels (0.25 m)** | 0.03-0.5 ms | 0.25-4 ms | f rises to about 3-15 % at 4-8° | | **8 voxels (0.5 m, HDRP/Photon cap)** | 0.04-2.5 ms | 0.3-20 ms | f about 5-30 % at 4-8° | - The packed hard-bit write costs about 0.01-0.02 ms. - Per shadow-blur §4.3, nothing in the gather is shared across suns except the fetch. **Expected look.** - **0.53°:** physically right penumbra up to about 7 m (cap 1) or 14 m (cap 2) of blocker distance, which covers most casters in a voxel scene. Beyond that, a clean contact-hardened edge. - **4-8°:** contact hardening near feet and wall bases, then a penumbra that stops growing at the cap. A 10 m pole's tip shadow stays crisp where it should be a smear. This is what HDRP and Photon ship, and players don't see it at a 0.5° sun. At an exaggerated 8° sun the owner may. - **Moving casters:** nothing temporal, so no trails, no re-warm and no mode shift. Frame 1 is final. - **Parity:** terrain and entities alike; the same rule for all N suns. **Which of our failures it addresses.** - The hard stair-step and snap: a whole voxel flipping lit↔dark as the sweep steps becomes a ramp crossing the voxel. - "Hard looks like an exaggerated small sun" is addressed **up to the cap only**. - Unlike the edge field, the filter never invents a penumbra the hard mask doesn't support. Its errors are bounded by the cap: a bleed at a depth break is at most `cap` wide. **Known risks to screen.** - The shadow-blur round's depth-break seams and box-on-floor bands. These were fixed by fp + ncb at a cost that grows with the radius. Does a small cap keep them invisible? - Banding from too few taps on near-camera pixels, where one voxel is many pixels. The fix is bilinear taps on a mip level matched to the radius. - Hidden or off-screen blockers within the cap. The guard band equals the cap in pixels: small for caps of 1-2. - Thin far casters: one hard ray per coarse receiver flickers on pan (shadow-blur §0). This comes from main's hard ray, not from the filter. **The screening harness exists.** The shadow-blur follow-up's model (`logs/shadow-blur/followup/model/`, `blur2.ts` estimator `A`) with a radius clamp is about a day's change. Run it against the 372-set floor screen, the risk scenes and the pan/walk harnesses at caps 1, 2, 4 and 8. ### Rank 2: P1 alone, stay hard plus a fixed ~1-voxel AA ramp **Recipe.** - P2 at cap 1 **with no contact hardening**: a fixed world-space ramp about one voxel wide (trick 1, trick 9). - Two forms: - **(a) screen-space**, as P2: parity-safe, because it filters world and entity results alike; - **(b) per voxel face**, interpolating each VSC slot's T toward its in-plane neighbours, like Minecraft's smooth lighting. This one is **not** parity-safe as-is: the entity ray is per pixel, so entity shadows would stay pixel-hard. It would need the entity term filtered too. - Recommend (a). **Cost.** ≤ 0.05 ms per sun; 0.1-0.4 ms for N = 8 [I]. **Look.** - Main's look, without the voxel stair-step and without the whole-voxel pop when the sweep steps. - At 0.53° it is physically about right within about 7 m of the blocker. - At 4-8° it is "hard with nice edges". That is the production default at 0.5° (BSL, Complementary no-TAA, UE Low = hard), and the owner preferred hard over the edge field. **Why it is a serious candidate.** - Everything that makes soft shadows look *bad* in shipped titles comes from the soft parts: grain, ghosting, over-blur ("small shadows can disappear" in Minecraft RTX), and banding. - The communities closest to us move toward sharper sun shadows: - BetterRTX shrinks the sun radius; - gvox ships hard; - Teardown's successor advertises "sharp shadows". ### Rank 3: P4, a free outer penumbra from the hard ray's march (screen offline; expected kill) **Recipe.** - While the hard ray walks the SVT, track `v = min(v, h(t) / (t·tan(R/2)))`, where `h` is the conservative clearance given by the empty node the DDA is in. This is UE DF / Quilez / Rethinking Voxels. - An outer penumbra only; combine with P1 for the inner edge. **Cost.** - About 0 extra rays: a few ALU per DDA step, on both the VSC refresh and the entity ray. - But the soft value now depends on **near misses**, so the dirty-box invalidation must cover slots whose rays pass within the cone of a moving caster, not just those that hit it. That could raise refresh work noticeably while entities move [I]. **Look risks** (documented in our own rounds): - empty-node bounds are grid-aligned and coarse (1/4/16/64 voxels), which gives the **grid-phase blotches** that killed the LoD cone round; - closest-miss is a half-plane model, so it over-darkens thin casters on the axis and multiple occluders (survey §3.5); - Rethinking Voxels' users report flicker. **Why list it.** - It is the only shipped deterministic one-march-per-light soft method. - It is cheap to screen offline in the LoD round's harness. ### Rank 4: P3, production-shaped temporal for physically wide penumbrae **Recipe.** - **Base:** the temporal round's Tu (k = 4, probes only on hard-shadowed pixels, cached hard ray). - **Production fixes:** - a world-space penumbra cap of about 0.5 m, which shrinks the candidate set and the filter (trick 3); - stochastic rays and filter at half resolution, upsampled bilaterally to the full-resolution hard edge (trick 7); - MegaLights-style history speed-up plus MW4-style temporal gradients, with extra rays on changed pixels (trick 19), against the 0.36-0.46 trails. - **Many suns:** a continuous importance weight (irradiance × angular size) sets each sun's ray share per pixel, instead of a K-soft cap (trick 14). **Cost** [I]: - the temporal round's 1.3-4.4 ms per sun ÷ about 4 for half resolution, times the cap's candidate reduction: **about 0.3-1.1 ms per sun**; - **N = 8: about 2.6-9 ms**, over the 0.7-2.3 ms headroom unless rays are shared across suns, which slows convergence (temporal §5.3); - temporal gradients add rays on every changed pixel, and moving casters make pixels change. **Look.** - Physically sized penumbrae at 4-8° at rest. - Moving-caster trails reduced, but CoD's own verdict is that this stays hard. - Small suns: the temporal round already recommends hard below 1-2°. **Why last.** - Production evidence says this is the expensive, ghost-prone end. - Nobody ships it for more than one directional light. ### Combinations considered and not proposed - **Distance hand-offs** (soft near, hard far; RT near, maps far). They create a band, which is the screen round's killed "split". - **Contact shadows, capsules** (tricks 10, 12): our ray already does this. - **Per-frame rotated disks without accumulation** (trick 8 without TAA): grain. - **Shadow contrast fade by blocker distance** ("long shadows fade"): it needs the caster's width, which one ray doesn't know. A wall's shadow would fade like a pole's, which is not intuitive. --- ## 7. Decisions for the owner 1. **Which concert to screen next.** Recommendation: **P2 as a cap sweep (1, 2, 4, 8 voxels), with P1 as its cap-1 point**, in the shadow-blur follow-up's model. Optionally P4 offline in the same round. P3 only if decision 2 says wide penumbrae are required. 2. **How soft must an exaggerated sun be?** Production clamps the penumbra: HDRP 0.56 m, Photon about 0.5 block, UE VSM ray-length and angle caps. At our sizes: - a cap of 2 voxels (12.5 cm) is physically right for 0.53° to about 14 m of blocker distance, but only to 0.9 m at 4° and 0.45 m at 8°; - a cap of 8 voxels (0.5 m) reaches 7 m at 4° and 3.6 m at 8°, at up to about 10-50× the cost at N = 8 (0.3-20 ms against 0.15-0.8 ms). - Beyond the cap, long shadows stay crisper than physics. **The trade-off is look against cost, and it is the owner's.** The nearest prior is that the owner preferred hard over a wrong-looking soft. 3. **N-parity at any cap?** - Small caps (1-2) fit N = 8 under the headroom (0.1-0.8 ms) with every sun treated alike. - Large caps or P3 at N = 8 do not. They would need production's answer (one or two suns get the good path; trick 14), which breaks N-parity. - A continuous importance weight across suns is the closest parity-respecting variant. Whether a ranking that drifts as suns move counts as a mode shift is the owner's call. 4. **P1's form.** Screen-space (parity-safe), or per voxel face (Minecraft smooth lighting; needs the entity term filtered too, or it is an entity-vs-terrain look difference). 5. **A short-range AO** for grounding objects inside soft or hard shadow (trick 11). It is a separate feature, but production leans on it for "acceptable". Not proposed here. --- ## 8. Limits - **No measurements.** Every cost in §6 is [I] from earlier rounds' tap and ray prices (±2-3×). `f` and the tap counts per cap are guesses for the screen to measure. - **Production costs** are on other hardware and other resolutions (PS4, PS5, R7870, RTX 3090/4080). Use them for proportion only. - **Not found:** - Decima, Frostbite's filter, Insomniac, RDR2; - Cyberpunk's sun angle and rays per pixel; - Hybrid Shadows costs; - DF commentary specific to shadow ghosting; - SEUS internals (encrypted); - John Lin, Douglas Dwyer, Lay of the Land, Enshrouded, Hytale, Vintage Story internals. - **Quality of the sources.** - Several UE cvar defaults are [S] (unrealdirective, a community ini). Epic's doc and the ini disagree on SMRT samples per ray (8 against 4). - The Fortnite VSM blog returned 403. - The MW2019 deck timed out; its content is via the 2026 talk. - **Provenance.** The citations were gathered by three research passes and spot-checked against the downloaded primary text (listed at the top). The rest is as cited.