Become a Unity Shaders Guru - Mina Pêcheux

Become a Unity Shaders Guru

Create advanced game visuals using code and graphs in Unity 2022

(Autor)

Buch | Softcover
492 Seiten
2023
Packt Publishing Limited (Verlag)
978-1-83763-674-7 (ISBN)
42,35 inkl. MwSt
Discover the new URP render pipeline, the Shader Graph tool, and a range of advanced shading techniques in this illustrated guide to bring out the beauty of your 2D/3D game projects
Purchase of the print or Kindle book includes a free PDF eBook

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 DescriptionDo 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 render pipeline, 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 pipelines and learn 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 render pipeline 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 on a sprite or simulating the wobble of a fish. You’ll also learn about alternative rendering techniques, like Ray Marching.
By the end of this book, you’ll have learned to create a wide variety of 2D and 3D shaders with Unity’s URP pipeline (both in HLSL code and with the Shader Graph tool), and be well-versed with 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

Who this book is forThis book is for technical artists who have worked with Unity and want to get a deeper understanding of Unity’s render pipelines and its visual node-based editing tool. Seasoned game developers who are looking for reference shaders using the recent URP render pipeline will also find this book useful. A basic level of programming experience in HLSL, Unity, its layout, and its basic usage is a must.

Mina Pêcheux is a freelance content creator who has been passionate about game development since an early age. She is a graduate of the French Polytech School of Engineering in applied mathematics and computer science. After a couple of years of working as a data scientist and web developer in startups, she turned to freelancing and online instructional content creation to reconnect with what brightens her days: learning new things everyday, sharing with others and creating multi-field projects mixing science, technology, and art.

Table of Contents

Re-coding a Basic Blinn-Phong Shader with Unity/CG
The Three Unity Render Pipelines
Writing Your First URP Shader
Transforming Your Shader into a Lit PBS Shader
Discovering the Shader Graph with a Toon Shader
Simulating Geometry Efficiently
Exploring the Unity Compute Shaders and Procedural Drawing
The Power of Ray Marching
Shader Compilation, Branching, and Variants
Optimizing Your Code, or Making Your Own Pipeline?
A Little Suite of 2D Shaders
Vertex Displacement Shaders
Wireframes and Geometry Shaders
Screen Effect Shaders
Appendix: Some Quick Refreshers on Shaders in Unity

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Informatik Software Entwicklung Spieleprogrammierung
Mathematik / Informatik Informatik Theorie / Studium
ISBN-10 1-83763-674-5 / 1837636745
ISBN-13 978-1-83763-674-7 / 9781837636747
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
2D- und 3D-Spiele entwickeln

von Thomas Theis

Buch | Softcover (2023)
Rheinwerk (Verlag)
29,90