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 Buy Now
N° of pages: +370
Language: English, Spanish.
Format: PDF.
“Discover the power of shaders and unleash your creativity
in Unity with The Unity Shaders Bible!”

The Unity Shaders Bible is the definitive resource for Technical Artists, providing everything you need to know in one comprehensive book. Starting with the basics and finishing with advanced concepts such as raytracing and compute shaders. It provides 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.
Clear and direct.
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.
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:

Other interesting books

In Construction
Visualizing Equations Vol. 2
Visualizing Equations Vol. 1
In Construction
Rigging & Animation Fundamentals
Patricio J. Vásquez
Nueva Providencia 1945 of. 502, Santiago, Chile.