summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders/screen_space_reflection.glsl
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2019-02-25 00:55:25 +0100
committerGitHub <noreply@github.com>2019-02-25 00:55:25 +0100
commit5f34664f611ecde576eecd434dc02fc8a940b677 (patch)
tree42bfe91395f483469568e88fd31b715b92f0dc8f /drivers/gles3/shaders/screen_space_reflection.glsl
parentfc5792f2ea5c3fcd9de4d4200763313ab4052a8f (diff)
parenta83e77fdedb235a5c3dea91530f9e2bd2cc23a56 (diff)
Merge pull request #26255 from hpvb/fix-26239
Explicitly use floating point numbers in the our shaders
Diffstat (limited to 'drivers/gles3/shaders/screen_space_reflection.glsl')
-rw-r--r--drivers/gles3/shaders/screen_space_reflection.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/screen_space_reflection.glsl b/drivers/gles3/shaders/screen_space_reflection.glsl
index 86546319a0..39f1ea6155 100644
--- a/drivers/gles3/shaders/screen_space_reflection.glsl
+++ b/drivers/gles3/shaders/screen_space_reflection.glsl
@@ -77,7 +77,7 @@ void main() {
return;
}
//ray_dir = normalize(view_dir - normal * dot(normal,view_dir) * 2.0);
- //ray_dir = normalize(vec3(1, 1, -1));
+ //ray_dir = normalize(vec3(1.0, 1.0, -1.0));
////////////////