fix the doc for skip_vertex_transform.

This commit is contained in:
Morris Tabor
2021-04-12 14:42:48 +02:00
parent 0ab131261d
commit d8568535dc

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
}