Building Quality Shaders for Unity®
by Daniel Ilett
Your complete guide to code and graph-based shaders in Unity.
Use shaders across Unity's rendering pipelines
Understand lighting, texturing, and post processing
Use Shader Graph for codeless development
Modify shader behaviour with C# scripting
Get it on Amazon
Get it from Springer
Build shaders for URP, HDRP, and the built-in render pipeline.
Learn about the differences and nuances between each pipeline.
Create shaders using either HLSL or Unity's node-based Shader Graph tool.
Use Shader Graph to quickly iterate on your design with immediate visual feedback and without needing to touch any code.
Boost your game's looks with post-processing effects.
Implement a world scanning effect like this one, turn the screen greyscale, or blur out objects in your game.
Deepen your understanding of how objects are rendered.
Find out how to use the depth buffer to cull objects or use depth information in your own shaders, like in this silhouette effect.
Add mind-bending effects to your games using advanced features.
Implement 'impossible' geometry by using the stencil buffer to hide objects when looked at at certain angles.
Use shaders to their full potential to enhance gameplay.
Write compute shaders to perform arbitrary tasks such as carving out a trail in the snow.
Try out the code on GitHub
Copyright 2023 Daniel Ilett.