summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-11-27 18:03:33 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-11-27 18:05:20 -0300
commite6bc152de8dd2b6b5d58cf2da31606e044a5f49d (patch)
treefa3b35c0abd9a283e5b72a0f0eb7d210992810cc /drivers
parent6e1255ec53172390e89b82c12f2519be4d0ab994 (diff)
NORMALMAP was not working (no normal being used detected), fixes #9263
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles3/shaders/canvas.glsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl
index ef2319c332..86d8cf560e 100644
--- a/drivers/gles3/shaders/canvas.glsl
+++ b/drivers/gles3/shaders/canvas.glsl
@@ -477,6 +477,7 @@ void main() {
#if defined(NORMALMAP_USED)
vec3 normal_map = vec3(0.0, 0.0, 1.0);
+ normal_used=true;
#endif
/* clang-format off */