Commit graph

9 commits

Author SHA1 Message Date
e210ebc72d
Update world shader to use material IDs
Replace bit-packed cell flags in the R channel with a direct material ID float pass-through. Food clearing now writes MAT_AIR instead of clearing a bit.
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
5899330f5c
Add repellent pheromone channel with per-channel blur parameters 2026-03-09 10:48:14 -04:00
vHawk
9ecb9f55aa Add pheromone settings to GUI 2022-07-11 05:43:33 +03:00
vHawk
9e80ac2c96 Resize FBs and recompile materials after config change 2022-06-30 00:35:59 +03:00
vHawk
a2b5d45a52 Add obstacles 2022-06-29 15:45:31 +03:00
vHawk
27c835b8e5 Interaction improvements and minor fixes 2022-06-29 00:35:45 +03:00
vHawk
fb772db717 Cleanup; make ants bounce off the world bounds 2022-06-26 19:23:23 +03:00
vHawk
f0c253c7fb Initial implementation 2022-06-26 12:34:16 +03:00