HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by natly | Hacker News Reader
Parent
Full thread
natly
·
I would be glad even having printf when debugging glsl shaders.
View on HN
mbrodersen
·
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.
Reply on news.ycombinator.com