© Kyle Halladay 2019
Kyle HalladayPractical Shader Developmenthttps://doi.org/10.1007/978-1-4842-4457-9_15

15. Precision

Kyle Halladay1 
Bristol, UK

To wrap up our section on shader debugging and optimization, I want to spend some time digging into a topic that’s one of the most common sources of shader problems that I’ve encountered in my career: precision problems. These sorts of problems can manifest as visual glitches on any platform, but if you’re writing shaders for platforms like mobile phones, or for web-based applications, precision problems can also be a huge source of performance issues. Luckily, once you understand what’s going on, these sorts of issues are relatively easy to track down and fix.

To start this chapter, I’m going to briefly ...

Get Practical Shader Development: Vertex and Fragment Shaders for Game Developers 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.