mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Uses skip_transform in gles2 canvas shader
This commit is contained in:
parent
ce8294986d
commit
9a5d867210
@ -89,9 +89,14 @@ VERTEX_SHADER_CODE
|
||||
/* clang-format on */
|
||||
}
|
||||
|
||||
#if !defined(SKIP_TRANSFORM_USED)
|
||||
outvec = extra_matrix * outvec;
|
||||
outvec = modelview_matrix * outvec;
|
||||
#endif
|
||||
|
||||
color_interp = color;
|
||||
|
||||
gl_Position = projection_matrix * modelview_matrix * outvec;
|
||||
gl_Position = projection_matrix * outvec;
|
||||
}
|
||||
|
||||
/* clang-format off */
|
||||
|
Loading…
Reference in New Issue
Block a user