8 lines
124 B
Plaintext
8 lines
124 B
Plaintext
|
vec3 transformedNormal = normalMatrix * objectNormal;
|
||
|
|
||
|
#ifdef FLIP_SIDED
|
||
|
|
||
|
transformedNormal = - transformedNormal;
|
||
|
|
||
|
#endif
|