Chapter 6: Transparency
In chapter 6 you learn the following:
- Creating transparency with alpha
- Transparent cutoof shader
- Depth sorting with render queus
- GUI and transparency
In chapter 6, you practice how to construct a simple Shader using transparency, create Shaders for objects like hair, learn about depth sorting or the draw order of objects and finally finish by creating a GUI texture for a game menu.
From a beginners point of view, the best points parts of this chapter are that you are told about the default render queues provided to you by Unity with an explanation of the use of each. Also, you are talked through an error that is encountered when implementing the game GUI. The reason why it has occurred is explained along with the resolution helping you to learn from your mistake.
A positive of this chapter is that you are introduced to two types of transparency when dealing with Shaders: cutoff and semi-transparent and right at the beginning it is explained which is the better technique to use when creating games for mobile devices as opposed to desktop or consoles. Invaluable advice right there.
The only negative point that I will mention is not about what the chapter has included but what the book overall so far has missed including. During the last section they mention an error and described how to overcome, yet this is not done throughout the book. From a beginner’s point of view, this would have been very helpful and a great way to show those that are practically working through each section to mention the common mistakes or pitfalls with the specific techniques and how to overcome them.
In conclusion, I would say the difficulty rating of this chapter is Average/Challenging with the last recipe leaning more towards something more challenging. This chapter will be extremely useful when creating Shaders for realistic looking, 3D games so my advice is to hone your skills and master the techniques presented here if you intend to build a 3D game project.
Read my reviews for previous chapters of this book: