mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
fix the doc for skip_vertex_transform.
(cherry picked from commit d8568535dc)
This commit is contained in:
committed by
Rémi Verschelde
parent
ad0bcbcd71
commit
5927b29ec0
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user