Sunset Lake Software - Comments for "Debug shader" http://www.sunsetlakesoftware.com/forum/debug-shader Comments for "Debug shader" en If you think about the way http://www.sunsetlakesoftware.com/forum/debug-shader#comment-1465 <p>If you think about the way that a fragment shader works (running in parallel once for each pixel), the only really effective way to debug one is to log out values in the color components and check those values to make sure that the shader is working right at each step. NSLog and printf() really have no meaning for the way these shaders operate.</p> pubDate Mon, 25 Jun 2012 22:27:00 +0000 dc:creator Brad Larson guid false comment 1465 at http://www.sunsetlakesoftware.com