summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders
diff options
context:
space:
mode:
authorBruno Lourenço <madequa@users.noreply.github.com>2019-12-23 00:00:18 +0000
committerBruno Lourenço <madequa@users.noreply.github.com>2019-12-23 00:00:18 +0000
commitf26c9d650b72a8b1b30254914bc486569e611ce4 (patch)
treeebd0b71a92427b8be2c7a7a03fa8f98f4c433cf6 /drivers/gles3/shaders
parent56d44aaac96747d2311b11702598c2e65551f411 (diff)
Fix 2D lighting when using skeleton.
Diffstat (limited to 'drivers/gles3/shaders')
-rw-r--r--drivers/gles3/shaders/canvas.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl
index 53f84abf51..9116868f68 100644
--- a/drivers/gles3/shaders/canvas.glsl
+++ b/drivers/gles3/shaders/canvas.glsl
@@ -55,7 +55,7 @@ out highp vec2 pixel_size_interp;
#endif
#ifdef USE_SKELETON
-uniform mediump sampler2D skeleton_texture; // texunit:-1
+uniform mediump sampler2D skeleton_texture; // texunit:-4
uniform highp mat4 skeleton_transform;
uniform highp mat4 skeleton_transform_inverse;
#endif