diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-01-05 12:13:52 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-01-05 12:13:52 -0300 |
commit | 003f2dab786c76ff0e9041b173ea6c7b3b572403 (patch) | |
tree | 30873fa3b07659039a6c229776784a1929cd7d83 | |
parent | 0c86c1ad152d2b523dc125eb79e838563b3d5f69 (diff) |
Fix dual paraboloid shadow maps, closes #14487
-rw-r--r-- | drivers/gles3/shaders/scene.glsl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl index af5f4653a0..2ccc661343 100644 --- a/drivers/gles3/shaders/scene.glsl +++ b/drivers/gles3/shaders/scene.glsl @@ -445,8 +445,7 @@ VERTEX_SHADER_CODE vtx.z=(distance/shadow_dual_paraboloid_render_zfar); vtx.z=vtx.z * 2.0 - 1.0; - vertex.xyz=vtx; - vertex.w=1.0; + vertex_interp = vtx; #else |