mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 13:09:57 -04:00
The generated vertex shader wrote one vector per location. A fragment shader that packs two inputs into one location (Component decorations: a vec2 at component 0 and another at component 2) then had nothing matching its second input, whose value is undefined: wrong colours on the emulated foliage. The vertex shader now declares an output for every input variable of the fragment shader, with its Location, Component, type and Flat, filled from those components of the mesh stage's vector at that location (zero where the mesh stage writes none). (cherry picked from commit c38eb31889314ebfb164ff9dffad5796eba46ed4) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
48 KiB
48 KiB