Become a Unity Shaders Guru: Create advanced game visuals using code and graphs

Become a Unity Shaders Guru: Create advanced game visuals using code and graphs

English | 2023 | ISBN: 978-1837636747 | 492 Pages | EPUB | 45 MB

Discover a range of advanced shading techniques to beautify your 2D/3D game projects with Unity 2022

Key Features:

  • Discover the new shader tools such as URP and Shader Graph to work in HLSL code or with visual node-based editing
  • Learn advanced tricks to optimize your rendering pipeline
  • Explore various concepts to create a variety of 2D and 3D game shaders

Book Description:

Do you really know all the ins and outs of Unity shaders? It’s time to step up your Unity game and dive into the new URP, the Shader Graph tool, and advanced shading techniques to bring out the beauty of your 2D/3D game projects!

Become a Unity Shaders Guru is here to help you transition from the built-in render pipeline to the SRP and learn how to use the latest shading tools. With it, you’ll dive deeper into Unity shaders by understanding the essential concepts through practical examples. First, you’ll discover how to create a simple shading model in the Unity built-in render pipeline and then in the Unity URP and Shader Graph, while learning about the practical applications of both. You’ll explore common game shader techniques, ranging from interior mapping to adding neon outlines to a sprite and simulating the wobble of a fish. You’ll also learn 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 will be well versed in some optimization tricks to make your games friendly for low-tier devices as well.

What You Will Learn:

  • Understand the main differences between the legacy render pipeline and the SRP
  • Create shaders in Unity with HLSL code and the Shader Graph 10 tool
  • Implement common game shaders for VFX, animation, procedural generation, and more
  • Experiment with offloading work from the CPU to the GPU
  • Identify different optimization tools and their uses
  • Discover useful URP shaders and re-adapt them in your projects