mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
fix the doc for skip_vertex_transform.
This commit is contained in:
@@ -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