Mobile Shader Adjustment

In the next two chapters, we are going to take a look at making the shaders that we write in a performance-friendly manner for different platforms. We won't be talking about any one platform specifically, but we are going to break down the elements of shaders we can adjust in order to make them more optimized for mobiles and efficient on any platform in general. These techniques range from understanding what Unity offers in terms of built-in variables that reduce the overhead of the shaders memory to learning about ways in which we can make our own shader code more efficient. This chapter will cover the following recipes:

  • Techniques to make shaders more efficient
  • Profiling your shaders
  • Modifying our shaders for mobile ...

Get Unity 2018 Shaders and Effects Cookbook 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.