Daily Archives: 29.11.2008
Debugging shaders: Artifacts grouped into quads
If you’re debugging a shader, and the wrong pixels come grouped into (screen-aligned) 2×2 blocks, don’t look too long at the code at hand — it might be that your gradients are wrong. Recently, I had a shader aliasing problem, … Continue reading