O'Reilly logo

Unity Shaders and Effects Cookbook by Kenny Lammers

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

What is a cheap Shader?

When first asked what a cheap Shader is, it might be a little tough to answer, since there are many elements that go into the making of a more efficient Shader. It could be the amount of memory used up by your variables. It could be the amount of textures the Shader is using. It could also be that our Shader is working fine, but we can actually produce the same visual effect with half the amount of data, by reducing the amount of code we are using or the data we are creating. We are going to explore a few of these techniques in this recipe and show how they can be combined to make your Shader fast and efficient but still produce the high quality visuals everyone expects from games today, whether mobile or PC.

Getting ready ...

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