© Claudia Doppioslash 2018
Claudia DoppioslashPhysically Based Shader Development for Unity 2017https://doi.org/10.1007/978-1-4842-3309-2_5

5. Your First Unity Lighting Shader

Claudia Doppioslash1 
(1)
Liverpool, Merseyside, UK
 
In the previous chapters, we introduced the shader editing workflow, got started with the simplest possible shader, and explained the graphics pipeline and the role of coordinate space transformations in it.
This chapter gets started on the main topic of this book: lighting. There is an infinite variety of shaders that you can write, without ever needing to worry about lighting. But the heart of this book is lighting calculations and how they help making your game look great and distinctive. To get started, we’ll take ...

Get Physically Based Shader Development for Unity 2017: Develop Custom Lighting Systems now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.