Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
natly
· 4y ago · 0 comments
I would be glad even having printf when debugging glsl shaders.
Comments
[–]
mbrodersen
4y ago
I 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.