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

4. Transforming Coordinate Spaces

Claudia Doppioslash1 
Liverpool, Merseyside, UK
In the past chapters, we mentioned transformations between coordinate spaces multiple times, but we deferred a more detailed explanation until this chapter.
As mentioned in the first chapter, you can theoretically choose what coordinate space each of your calculations is going to live in. In the case of real-time rendering, most of the choices have already been made for you by the graphics pipeline. It expects values (vertex positions, normals, etc.) to be in a certain coordinate space, at certain steps of the process. ...

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.