O'Reilly logo

Practical Shader Development: Vertex and Fragment Shaders for Game Developers by Kyle Halladay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

14. Optimizing Shaders

Kyle Halladay1 
(1)
Bristol, UK
 

Now that we know how to figure out how fast our shaders are being computed in a frame, the next step is to learn how we can make them go even faster. Optimizing shaders is probably my favorite part about writing them! It always feels like a puzzle, and I love the feedback loop of making an optimization, measuring how much of an impact that had, and then doing it all again.

Profiling is important, because shader optimization is a very deep subject, and in many cases, the types of optimizations that you make will depend on the hardware that you run on. This makes it very difficult to know how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required