Preface
Do you really know all the ins and outs of Unity shaders? Time to step up your game and dive into the new Universal Render Pipeline (URP), the Shader Graph tool, and advanced shading techniques to bring out the beauty in your 2D/3D game projects!
Become a Unity Shaders Guru is here to help you transition from the built-in render pipeline to the SRPs and learn about the latest shading tools. It dives deeper into Unity shaders by explaining the essential concepts through practical examples. You will first get a refresher on how to create a simple shading model in the Unity built-in render pipeline, and then move on to the Unity URP render pipeline and Shader Graph, discovering a wide range of applications in the process. You will explore common game shader techniques, ranging from interior mapping to burning down a candle or simulating the wobble of a fish. You will even read about alternative rendering techniques, such as ray marching.
By the end of this book, you’ll have learned how to create a wide variety of 2D and 3D shaders with Unity’s URP (both in HLSL code and with the Shader Graph tool), and you’ll know some optimization tricks to make your games more friendly to low-tier devices.