From 284f8f6d91d7c9663fe8b25aa652265579b412a6 Mon Sep 17 00:00:00 2001 From: Chaosus Date: Sat, 25 Nov 2017 23:18:01 +0300 Subject: Fixed invalid transform when skip_vertex_transform used --- drivers/gles3/shaders/scene.glsl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl index a3792371af..e5793e47fc 100644 --- a/drivers/gles3/shaders/scene.glsl +++ b/drivers/gles3/shaders/scene.glsl @@ -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; -- cgit v1.2.3