Get the Unity Shaders Bible with 20% OFF! Using the code usb20 at checkout.
Best Seller

The Unity Shaders Bible

The definitive book to learn shaders in Unity.

Introduction to the shader programming language.

Lighting, shadow, and surface.

Compute Shader, Ray Tracing, and Sphere Tracing.

Download Free Sample
N° of pages: +370
Language: English, Spanish.
Format: PDF.

Learn shaders in Unity, starting with the basics and finishing with advanced concepts.
The book includes a detailed explanation of languages like Cg, HLSL, ShaderLab, and Shader Graph.

It includes a package with more than 40 shader exercises.
1. Introduction to the shader programming language.
  • It covers previous knowledge (normals, vertices, tangents, and more).
  • Shows the structure of a shader in ShaderLab, Cg, and HLSL language.
  • Analogy between properties and global variables.
  • SubShader and commands (ColorMask, Stencil, Blending and more).
  • Intrinsic functions (step, smoothstep, ceil, floor and more).
  • Matrices and much more.
2. Lighting, shadow and surface.
  • We will review a simple lighting model.
  • Look at the normal map and its implementation.
  • Ambient, diffuse, specular and environmental reflection.
  • Lighting and shadow analysis.
  • Standard Surface shader, inputs and outputs.
  • Shader Graph and much more.
3. Compute shader, ray tracing and sphere tracing.
  • It covers advanced concepts (threads, ray cast, GPGPU, and more).
  • The structure of a Compute Shader and buffer variables.
  • Compute Shader semantics (SV_DispatchThreadID, SV_Group, and more).
  • Kernel explanation.
  • Implicit surfaces and smooth minimum explanation.
  • Ray Tracing rendering configuration and more.
What makes the book unique?
+370 informative pages on shader programming.

From beginner to advanced linearly, starting with basic concepts (e.g. unlit shader) and ending with advanced ones (e.g. compute shader).

Clear and direct.

You will be able to find the differences and similarities between Built-in, Universal and High Definition Render Pipeline.

Real-life examples.

All the examples in this book could be applied to production-stage projects.

Trusted by
What do readers think about the book?
Julian Cano
⭐⭐⭐⭐⭐
It’s an excellent material to study and learn technical art with shaders! What I have seen has been very detailed and applicable.
Jab Deeb
⭐⭐⭐⭐
Solid overall, good read, straightforward.
Eugene
⭐⭐⭐⭐⭐
It is great work guys! This book allows me to structure and arrange my knowledge about creating shaders. Because before, my knowledge was like a bunch of separate pieces.
Sourav Chatterjee
⭐⭐⭐⭐⭐
It is a very ambitious and useful book that tries hard to demystify shaders.
Frequently Asked Questions

All our digital books are in .pdf format.

All our books are written in both English and Spanish.

All our digital products get free updates. You buy them just once.

We currently use Gumroad payment systems. For more information: https://customers.gumroad.com/

More books
In Construction
Rigging & Animation Fundamentals
Patricio J. Vásquez
-
New
Visualizing Equalities
Jettelly
$15.99
$5.99
Jettelly
Explore
Nueva Providencia 1945 of. 502, Santiago, Chile.