mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 07:31:06 -04:00
The payload size in an NVN2 task or mesh program header counts only the program's own data, which starts after a 24-byte header (the mesh count and two words the mesh program reads). The foliage task writes three 1024-byte arrays from there, up to byte 3096 of a payload sized 3072, so the last entries of the third array were lost and its mesh programs read past the end of their buffer. Those reads came back different on each run, so a few leaves of each dense patch landed in different places in the depth pre-pass and the colour pass, and the colour pass's equal depth test left them unpainted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 KiB
28 KiB