Hi,
Here is oversimplified raymarching setup. In 2021 or so it worked fine, but on current version it produces weird color flickering on second+ buffers. Or should I somehow clean
Currently on 2025.32820 Windows 11, RTX 5090, Nvidia studio driver 610.62
GLSL_bufbug.toe (4.5 KB)
Hi @exsstas
your example has a if condition which returns if the condition is met without setting a color for the second buffer, leaving it undefined.
if
returns
If you assign something to the second buffer in that condition, things stop flickering.
... if (dist > 19.99) { fragColor = vec4(0.0); fragColor1 = vec4(0.0); return; } ...
Hope that helps Markus