cntrl/docs/ENV_ENHANCEMENT.md
dandovlatov aba0fcd7a0 FBC: NIGHT SHIFT - added the enhancement-slices doc and delivered S0/S1: light-surface-post pass and identity props
docs/ENV_ENHANCEMENT.md: full slice plan S0-S5 with acceptance criteria.\n\nS0 light/surface/post: bevels on 119 boxes, floor gloss variation, dead +\nhanging fluorescent fixtures, teal Polaris alcove, threshold-door red light\nspill, 70 dust motes, compositor bloom -> chromatic aberration -> vignette.\n\nS1 identity props: Hotline, Benicoff TV, Service Weapon pedestal, Rubber Duck\nunder glass, security desk, filing cabinets, scattered redacted papers, puddles.\n\nScene 243 -> 405 objects; concept frames re-rendered and validated (hero\np5/p50/p95 0.10/0.30/0.53, red 15.9%, teal 1.4%).
2026-10-24 11:02:36 +04:00

7.7 KiB
Raw Blame History

FBC: NIGHT SHIFT — Environment Enhancement Slices

Working plan for turning the Blender concept diorama (and later the in-game presenter) into a full Oldest House environment. docs/ART_DIRECTION.md is the source of truth for the look; this file tracks what's next, slice by slice, with acceptance criteria.

Legend: [B] Blender scene (tools/blender/build_scene.py) · [G] game (render/presenter.cpp, M5) · [R] render/post only (render_shots.py).

Slice overview

# Slice Adds Status
S0 Light, surface & post pass bevels, floor gloss variation, dead/flickering strips, teal Polaris alcove, threshold-door light spill, dust motes, vignette + chromatic aberration DONE [B][R]
S1 Identity props Objects of Power (Hotline, Benicoff TV, Service Weapon pedestal, Rubber Duck), security desk, filing cabinets, scattered redacted papers, puddles DONE [B]
S2 Corruption decay layer glyph particles, chanting-glyph signage, sparks on dead strips, red mist pockets, wall stains/leaks, more floating debris planned [B]
S3 Standee art v2 paper grain + halftone, sleeve sheen, new archetypes (Hiss Elevated, Cluster, Taken, Mold Host), boss standee, elite affix rim variants planned [B]→[G]
S4 Breadth: floors Oceanview Motel shop diorama (yellow doors, teal carpet), Maintenance/mold variant (green palette) planned [B]
S5 Game integration (M5 kickoff) sprite PNGs into presenter.cpp, world-anchored bars, corruption-keyed post shaders, HUD-overlay concept frames planned [G]

S0 — Light, surface & post pass [B][R]

Goal: kill the "starter render" tells — hard edges, even lighting, clean frame.

  • Bevel pass on all box kit (walls, pillars, beams, door, props) — chamfers catch light. Accept: no un-beveled box edge > 9 cm thick in the ENV collection; thin decals excluded.
  • Floor gloss variation — noise-driven roughness (0.08–0.30) so reflections break up like sealed concrete. Accept: strip reflections visibly widen/narrow across the slab.
  • Dead / flickering strips — one wall strip and one beam strip dark (sector failing per the art doc), one strip hanging loose. Accept: at least 3 non-lit or misaligned fixtures visible.
  • Teal Polaris alcove — 4th palette entry (#4ec9b0) on the left wall: dark recess + teal glow panel + teal light. Accept: teal present in hero frame without stealing focus from red.
  • Threshold-door light spill — red glow decal + red area light washing the carpet out of the doorway. Accept: carpet reads red→black gradient toward camera from the door.
  • Dust motes — ~70 seeded emissive micro-voxels in the air. Accept: visible sparkle in light pools, deterministic per seed.
  • Post pass on renders — compositor: bloom (done), chromatic aberration (lens dispersion), vignette. Accept: corners ≥ 25% darker than center mean; aberration subtle at edges only.

S1 — Identity props [B]

Goal: the frame must say Oldest House, not "brutalist lobby".

  • Hotline — red phone on a side table, faint red glow (left, near far wall).
  • Benicoff TV — boxy TV on a stand, dark emissive screen (right of the door).
  • Service Weapon pedestal — concrete plinth, angular dark weapon form, white inlay glow (left of the carpet cross).
  • Rubber Duck under glass — plinth + duck + transparent case (right of the carpet cross) — the joke that sells the tone.
  • Security desk — desk + monitor + papers + chair (front-left, the guard's post).
  • Filing cabinets — row along the right wall with drawer seams.
  • Scattered redacted papers — ~24 seeded scraps on floor/desk.
  • Puddles — 3 dark glossy discs near walls for reflection interest. Accept (group): hero frame contains ≥ 6 recognizable prop silhouettes; nothing clips the carpet runners or standee sightlines.

S2 — Corruption decay layer [B] (next)

Goal: the House decaying in real time — the art doc's "best part", currently ~10% realized (red slabs + red strips only).

  • Hiss glyph particles — floating red glyph quads (tiny bar clusters) drifting up near corrupted areas.
  • Chanting-glyph signage — one wall sign half-converted: redaction bars tilted/replaced by red glyph bars.
  • Sparks on dead strips — small warm emissive bursts under the dead fixture + a red-tinted pool below it.
  • Red mist pockets — 2–3 low-density red volume boxes near walls/door.
  • Wall stains & leaks — dark grime decals under strips and at wall bases; a drip stain under the ceiling beams.
  • More floating debris — 4–6 extra slabs at floor level (not just ceiling), one intersecting a pillar.
  • Accept: red-dominant share of the hero frame rises from ~17% to 22–26% without the scene reading "Christmas"; decay is clustered, not uniform.

S3 — Standee art v2 [B]→[G]

  • Card treatment — paper grain + halftone dots + sleeve specular streak; slight card bend (2-segment warped quad).
  • New archetypes — Hiss Elevated (mid-teleport afterimage), Hiss Cluster (stationary spitter), Taken (near-black + white rim — the crossover), Mold Host (tanky), Threshold Creature.
  • Boss standee — 2–3× screen height (Former hand or Hiss-Marshall), per the art doc.
  • Elite affix rims — Resonant (ring), Phasing (afterimage), Volatile (flicker), Shielded (shell), Mending (green halo) as sprite variants.
  • Accept: ≥ 8 distinct silhouettes readable at hero distance; boss reads from the far wall.

S4 — Breadth: floors [B]

  • Oceanview Motel shop diorama — yellow doors, teal carpet, dim bedside lamps: the reroll shop, iconic and cheap.
  • Maintenance/mold variant — tight corridor, pipes, green mold blooms, sickly green light (exercises the mold palette).
  • Accept: each variant is a named collection the camera set can be pointed at; palette per art doc stays consistent.

S5 — Game integration — M5 kickoff [G]

  • Wire assets/sprites/*.png into render/presenter.cpp (replace soft-disc billboards; keep manual back-to-front sort + blob shadows).
  • World-anchored damage numbers/health bars styled as form fields.
  • Corruption-keyed post shaders (assets/shaders/): VHS noise, chromatic aberration, red resonance pulses.
  • HUD-overlay concept frame: containment gauge + HP/XP form fields + Board Directive cards composited over a Blender render — the "UI as bureaucracy" money shot.
  • Accept: 60 s --bot run looks like the concept frames at gameplay scale.

How to run

# inside Blender:
exec(open("/home/dandovlatov/Documents/cntrl/tools/blender/build_scene.py").read())
exec(open("/home/dandovlatov/Documents/cntrl/tools/blender/render_shots.py").read())

Renders land in docs/concept/, the scene in assets/blender/, sprites in assets/sprites/. Validation: luminance/contrast stats + ASCII luminance and red-dominance maps per render; hero targets — p5/p50/p95 ≈ 0.10/0.29/0.51, clipping < 0.5%, red-dominant 15–25%.

Status log

  • 2026-10-24: S0 + S1 implemented in build_scene.py; scene 243 → 405 objects (119 beveled boxes, 83 prop objects, 70 dust motes, 4 light-spill decals). Compositor post chain live: bloom → chromatic aberration → vignette. Concept frames re-rendered (96 samples) and validated — hero: p5/p50/p95 = 0.10/0.30/0.53, clipping 0.15%, red-dominant 15.9%, teal 1.4% (palette now 4/4 in frame); game cam: 0.12/0.34/0.50, red 20.3%; detail: punchy close-up. Next up: S2 corruption decay layer.