Chapter 12: Advanced Shading Techniques
This chapter covers some advanced shader techniques that you can use for your game. You should remember that many of the most eye-catching effects that you see in games are made by testing the limits of what shaders can do. This book provides you with the technical foundations to modify and create shaders, but you are strongly encouraged to play and experiment with them as much as you can. Making a good game is not a quest for photorealism; you should not approach shaders with the intention of replicating reality because this is unlikely to happen. Instead, you should try to use shaders as a tool to make your game truly unique. With the knowledge of this chapter, you will be able to create the materials that you want.
In this chapter, you will learn about the following:
- Using Unity's built-in
CgInclude
files - Making your shader work in a modular way with
CgInclude
- Implementing a Fur Shader
- Implementing Heatmaps with...