Commit graph

2 commits

Author SHA1 Message Date
0f9c1b47f2
Replace bit-packed cell flags with material ID constants 2026-03-11 14:01:33 -04:00
bdf42a3176
Add cell metadata bit layout for terrain type and food quality
Reserve bits 3-5 for terrain type (0-7) and bits 6-13 for food quality
(0-255) in the world texture R channel. Adds shared TS constants and
matching GLSL defines. world.frag now preserves upper bits when writing
cell data. Infrastructure only — no behavior changes.
2026-03-09 11:15:57 -04:00