4 ms·
I would be glad even having printf when debugging glsl shaders.
by natly 4y ago
I would be glad even having printf when debugging glsl shaders.
- mbrodersen 4y agoI found that using the final pixel color as your “printf” works wonders. You can turn any proposition into a color and directly see the debug pixel values on screen. A simple example is displaying your normals as RGB.