fix the doc for skip_vertex_transform.

(cherry picked from commit d8568535dc)
This commit is contained in:
Morris Tabor
2021-04-12 14:42:48 +02:00
committed by Rémi Verschelde
parent ad0bcbcd71
commit 5927b29ec0

View File

@@ -115,7 +115,7 @@ it manually with the following code:
void vertex() {
VERTEX = (MODELVIEW_MATRIX * vec4(VERTEX, 1.0)).xyz;
NORMAL = (MODELVIEW_MATRIX * vec4(NORMAL, 0.0)).xyz;
NORMAL = normalize((MODELVIEW_MATRIX * vec4(NORMAL, 0.0)).xyz);
// same as above for binormal and tangent, if normal mapping is used
}