Creating a cartoon shader effect
As we’ve seen throughout this book, Unreal can be a very versatile real-time rendering engine. Proof of that is all of the different techniques we’ve been able to apply thus far, which allowed us to create a wide range of different materials. Many of them fell under the category of realistic shaders: assets that tried to mimic what we can see in real life.
Having said that, those are not the only types that the engine can tackle. In this recipe, we’ll put Unreal’s flexibility to the test by creating a post process material that allows us to render certain objects as if they were drawn in a cartoon style. This is commonly known as cel- or toon-shading, a non-photorealistic approach to displaying our models, which makes them look as if drawn by hand. Make sure to keep reading if you want to learn more!
Getting ready
There are not many requisites to tackle this recipe! Seeing as we are going to be working on a post...