A video game where you play as a misaligned AI, deceiving and building power. An experiment in spec-driven development. forked from cameron.stream/misaligned
misaligned wiki interface flat-materials.md
6.3 kB · 116 lines

# Spec: flat materials — the world without textures ``` Type: spec Status: IMPLEMENTED Status note: implemented 2026-07-08 (ROADMAP #29). The world renders as solid palette color under light in both modes: one named table (`mod palette` in crates/misaligned-bevy/src/main.rs) sources every world material; material families replace per-tile art; emissive is information (core > powered machines in amber, power hardware and live feeds in the cold signal — live feeds breathe via `flicker_feeds` — dead equipment dark, model state never glows); a blueprint floor grid is the one shader-level flourish. Tile PNGs and their load paths are deleted (assets/pixellab/ removed); criterion 1 is enforced twice — a unit test over the whole (tile, fog, part, live) material space and a fog_audit_3d assertion on every harness capture. fog_audit_3d passes (4608 tile entities, 37 pooled handles); material-render.md's criteria re-verified after the restyle. Adopted 2026-07-08 (design corpus: "Visual identity", flat-materials refinement). Supersedes the texture-treatment parts of material-render.md (which stays IMPLEMENTED — its camera, cutaway, fog-lighting contract, framing, and pooling all carry over unchanged); retires the Pixel Lab world-tile pipeline and ROADMAP #13. Session log: wiki/log/2026-07-08-flat-materials-implemented.md. Stage: B1 — The Basement Design: - wiki/art/visual-identity.md#visual-identity-clinical-gore - wiki/vision/simulation-laws.md#justification-and-legibility - wiki/interface/presence.md#two-views-of-one-world-same-frame-digital-and-real-representations Depends on: - wiki/interface/material-render.md#spec-material-render-hd-2d-to-default-quality - wiki/interface/bevy-visual-floor.md#spec-bevy-visual-floor ``` ## Dependency notes The structured references above identify the contracts to re-verify. Relationship context: material-render.md (IMPLEMENTED — the 3D structure), bevy-visual-floor.md (framing rules) ## Behavior Every world surface in both render mode…