© Claudia Doppioslash 2018
Claudia DoppioslashPhysically Based Shader Development for Unity 2017https://doi.org/10.1007/978-1-4842-3309-2_17

17. When Shading Goes Wrong

Claudia Doppioslash
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 ...

Get Physically Based Shader Development for Unity 2017: Develop Custom Lighting Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.