Navigácia
Knowww
Knowledge on World Wide Web
ABC dictionary
Private tree
Access private tree
Normal transformation
Zobraziť pojem v strome
Domain
:
14
Description
Therefore, we will apply the normal matrix to transform vertex normals into eye coordinates. This is typically done in the vertex shader.
Be sure to renormalize after the transformation:
n = normalize(matrices.normalMatrix * inNormal);
Importance
High
Súvisiace pojmy
:
Nadradený pojem
:
Lighting done in eye coordinates
Susedné pojmy
:
Transforming normals
Normal matrix
Vector to light source
Reflection vector
Viewing vector