126 lines
6.6 KiB
Markdown
126 lines
6.6 KiB
Markdown
# FBC: NIGHT SHIFT — Art & Audio Direction
|
||
|
||
## The look: brutalist diorama with low-poly actors
|
||
|
||
**Locked decision: everything is 3D** — a brutalist Oldest House diorama populated
|
||
by low-poly, hand-detailed actors. The tabletop diorama identity survives, but the
|
||
units are little free-standing puppets rather than printed cards:
|
||
|
||
- The floor is a **concrete diorama of an Oldest House sector**: boxy brutalist
|
||
geometry (slabs, pillars, recessed fluorescent light strips, EXIT signs, redacted
|
||
wall signage). Brutalism is literally parametric boxes, so procedural meshes get
|
||
~80% of the look for ~20% of the cost.
|
||
- Units are **sculpted low-poly puppets** — lofted bodies, swept limbs and
|
||
deformed organic masses rather than a cube kit (guard ~5.7k triangles, enemies
|
||
1.4–2.9k, point crystal ~60), with readable facets, ID-badge details, Hiss crystal
|
||
growths and a little base ring. Thematically the same bureaucrat-moving-case-
|
||
files fantasy, but they occupy real depth: they turn to face the player, bob
|
||
when floating and are lit by the House's fluorescent key.
|
||
- **Actors are authored in Blender** (`tools/blender/build_enemies.py`), exported as
|
||
GLB to `assets/models/` and lit in-engine by `assets/shaders/actor.{vs,fs}`.
|
||
Walk/stagger/blob/crystal motion is done in the vertex shader from local
|
||
vertex position (one draw call per actor, no skeleton); `UpdateModelAnimation`
|
||
remains the upgrade path for animated bosses. Props live in
|
||
`assets/models/props/` and get restrained idle motion in the presenter.
|
||
|
||
## Palette
|
||
|
||
- Concrete `#2b2b2f`, paper `#e8e4d8`, redaction `#111111`
|
||
- One tileable concrete PBR set (albedo/normal/roughness, baked in Blender from
|
||
the CGTrader "Concrete material" by KirillP and tinted to graphite) is reused
|
||
on every concrete surface — floor, curbs, pillars, door frame — via world-space
|
||
triplanar mapping, so texel density is identical everywhere. The source
|
||
`.blend` and its bake script live in the repo root / `tools/blender/`
|
||
respectively; license is Royalty Free (no AI), so the source must not be
|
||
redistributed as a standalone asset.
|
||
- **Signal red `#c1121f`** — Hiss resonance
|
||
- **Board yellow `#f5c518`** — the Board's light
|
||
- Astral teal `#4ec9b0` — Polaris / safe
|
||
- Resonance cyan `#00c4eb` — small emissive point crystals dropped by kills;
|
||
a hotter `#40dfff` core and a soft cyan billboard make them read at tactical
|
||
camera distance without scaling them back up.
|
||
|
||
## Camera
|
||
|
||
Fixed tactical three-quarter view following the guard: fovy 48, camera height 18
|
||
and forward offset 14. Horde awareness beats close-up detail. Slight screen
|
||
shake on hits (presentation-only RNG); the camera target is clamped a few metres
|
||
inside the curb so the play area never shows the unlit floor beyond the wall.
|
||
|
||
## UI as bureaucracy
|
||
|
||
Every screen is an FBC form. Signature gag: **redaction bars that slide away** to
|
||
reveal text. Stamps ("CONTAINED", "BREACH"), typewriter text reveals. HUD:
|
||
containment status gauge (RoR2 difficulty bar homage) top right with run timer;
|
||
HP/XP as form fields; level-ups roll offers that apply without any pause.
|
||
|
||
## Corruption as a presentation channel (the best part)
|
||
|
||
The corruption coefficient drives *everything* visually — the House decays in
|
||
real time:
|
||
|
||
- Shader uniforms: red Hiss tint, VHS noise, chromatic aberration keyed to `c`.
|
||
- Environment: fluorescent lights fail sector by sector, red geometry floats
|
||
through walls, signage turns to chanting glyphs.
|
||
- Audio: chanting/moan layers mix in with `c`; radio chatter gets desperate.
|
||
- Actor shader jitter grows on Hiss/Mold units; the guard's breathing becomes
|
||
audible; hit/kill sparks and tier-up bursts light the room.
|
||
- **Tier-up events are theatrical:** red flash, radio static, a Board line in yellow.
|
||
|
||
## Post FX
|
||
|
||
Render to `RenderTexture`, then a half-res bright-pass + separable blur
|
||
(`bloom_bright.fs` / `bloom_blur.fs`), then a full-screen grade in `post_fx.fs`:
|
||
VHS scanlines/noise, restrained chromatic aberration (kept low so the HUD stays
|
||
legible), red resonance pulses, teal-shadow/warm-highlight split and vignette.
|
||
Cheap in raylib, huge style payoff. (`assets/shaders/`)
|
||
|
||
## Fonts (OFL-licensed only)
|
||
|
||
- **Archivo** — brutalist headings
|
||
- **IBM Plex Mono** — documents, stats, redacted reports
|
||
- (M1 grey-box uses raylib's default font; fonts land at M5.)
|
||
|
||
## Audio
|
||
|
||
raylib audio module (miniaudio). Layered ambient drone + faint Hiss chanting loops
|
||
that intensify with corruption; teletype clicks for UI; impact SFX scaled with
|
||
damage numbers. Procedural/CC0 placeholders first. Music: slow-building dread,
|
||
not action-rock.
|
||
|
||
## Enemy visual language (readability first)
|
||
|
||
- Hiss: red, floating, jittering silhouettes
|
||
- Mold: sickly green, lumpy, ground-hugging
|
||
- Taken: near-black silhouettes with white rim (crossover flavor)
|
||
- Elites: affix-colored rim + aura (Resonant = pulsing ring, Phasing = afterimage,
|
||
Volatile = flicker, Shielded = rock shell, Mending = green halo)
|
||
- Bosses: multiple-screen-height actors, hand-built in the same GLB pipeline
|
||
- World objects of power (§4.6): small glow + flavor name on the floor;
|
||
glow colors per kind: Slow = blue, Confuse = yellow, Taken = orange,
|
||
Vulnerable = deep red, Dot = red
|
||
|
||
## Concept scene (Blender) — visual target for M5
|
||
|
||
A full visual pass of the look now lives in Blender (built procedurally, no
|
||
external assets):
|
||
|
||
- `assets/blender/fbc_night_shift_diorama.blend` — the diorama: polished
|
||
concrete floor, red carpet runners with brass stanchions, brutalist pillars /
|
||
pilasters / beams with recessed fluorescent strips, redacted FBC signage,
|
||
threshold door with red Hiss glow + hazard stripes, floating Hiss-corrupted
|
||
slabs, the Board's yellow monolith, volumetric haze.
|
||
- `assets/blender/fbc_enemies.blend` / `assets/models/*.glb` — the actor library:
|
||
security guard, Hiss Corrupted Staff, Mold Spore, Hiss Brute and Resonance
|
||
Shard, each with its origin at the feet and facing +Z in engine.
|
||
- `docs/concept/{enemy_lineup,enemy_detail}.png` — actor turnarounds rendered
|
||
straight from the source `.blend`; `hero_*` frames cover the diorama.
|
||
- `tools/blender/build_scene.py` rebuilds the diorama; `build_enemies.py` rebuilds
|
||
the actors (both run inside Blender via `exec(open(...).read())`);
|
||
`render_shots.py` re-renders the diorama concept frames.
|
||
|
||
The scene mirrors the sim's world: 52m arena, pillar ring at ±18/±21, camera
|
||
pitch/lens matched to `render/presenter.cpp`. Palette exactly as above; the
|
||
flickering red strips and floating slabs are the corruption channel, the yellow
|
||
monolith is the Board. Note that in-game fluorescent strips live at curb height:
|
||
the tactical camera sits above the room, so a real ceiling would occlude play.
|