See also

The _DotProduct plays an important role in the way reflections are calculated. Chapter 4, Understanding Lighting Models, will explain in detail how it works and why it is widely used in so many shaders.

Get Unity 2018 Shaders and Effects Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.