summaryrefslogtreecommitdiff
path: root/drivers/gles3
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-01-06 18:09:11 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-01-06 18:09:11 -0300
commitd72a32bc54cda565aabfa5549c0cec7c29697950 (patch)
tree20ee4387701ade51c4640a9815146a7adb52a33c /drivers/gles3
parent9cf19f8dee98fdc11e44224c48ce968a87022eb6 (diff)
Use better initialization value for normalmap, fixes #14720
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/shaders/scene.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl
index 2ccc661343..afe70edd17 100644
--- a/drivers/gles3/shaders/scene.glsl
+++ b/drivers/gles3/shaders/scene.glsl
@@ -1648,7 +1648,7 @@ void main() {
#if defined(ENABLE_NORMALMAP)
- vec3 normalmap = vec3(0.0);
+ vec3 normalmap = vec3(0.5);
#endif
float normaldepth=1.0;