mirror of
https://github.com/godotengine/godot
synced 2024-09-06 03:13:26 +00:00
Fixed invalid transform when skip_vertex_transform used
This commit is contained in:
parent
9738ebcda0
commit
284f8f6d91
|
@ -458,12 +458,7 @@ VERTEX_SHADER_CODE
|
|||
|
||||
#endif //RENDER_DEPTH
|
||||
|
||||
|
||||
#if !defined(SKIP_TRANSFORM_USED) && !defined(RENDER_DEPTH_DUAL_PARABOLOID)
|
||||
gl_Position = projection_matrix * vec4(vertex_interp,1.0);
|
||||
#else
|
||||
gl_Position = vertex;
|
||||
#endif
|
||||
|
||||
position_interp=gl_Position;
|
||||
|
||||
|
|
Loading…
Reference in a new issue