© 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 Doppioslash
(1)
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.
One example ...

Get Physically Based Shader Development for Unity 2017: Develop Custom Lighting Systems 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.