17. When Shading Goes Wrong
Claudia Doppioslash1
(1)Liverpool, Merseyside, UK
You have written a great lighting model that you’re proud of, but it goes horribly wrong on your test device. Or on some user’s device. Or you have an unexplainable bug on your machine, which goes away when you deploy to your platform. If any of this has happened to you, welcome to the wonderful and painful world of shader debugging.
Debugging gets increasingly hard the more steps of separation you have from your development platform. Debugging when your target platform is the same as the PC you’re using is easier. If you’re targeting ...