Getting ready

To begin, we have to get our assets ready. So let's follow the next few steps to get our screen effects system up and running for our new Blend mode screen effect:

  1. We will need another texture to perform our Blend mode effect. In this recipe, we will use a grunge-type texture. This will make the effect very obvious when we are testing it out.
  1. The following screenshot is the grunge map used in the making of this effect. Finding a texture with enough detail and a nice range of grayscale values will make for a nice texture to test our new effect:
The preceding texture is available in the example code for this book in Chapter ...

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.