Remove alpha from deposit layer
Some checks failed
Check & deploy / build (push) Failing after 1m18s

This commit is contained in:
Andras Schmelczer 2026-08-03 07:48:44 +01:00
commit e00b394bc3
10 changed files with 45 additions and 73 deletions

View file

@ -215,7 +215,8 @@ fn agent_finalize(
// Writes only this agent's last-writer-wins deposit into a per-frame-cleared
// depositMap. Storage textures do not blend concurrent compute writes, so
// overlapping agents intentionally collapse to whichever write wins. The
// diffusion pass then sums trailMap + depositMap at tile-load time.
// diffusion pass then sums trailMap + depositMap at tile-load time. The
// rgba8unorm alpha lane is unused, so deposits leave it at zero.
textureStore(
trailMapOut,
vec2<i32>(nextPosition),