From d780a0c8db7528fcd8d2dfea36df55a10547cc45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Tue, 15 Mar 2022 10:25:09 +0100 Subject: [PATCH] Fix broken normals in meshes with blend shapes --- drivers/gles3/shaders/blend_shape.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gles3/shaders/blend_shape.glsl b/drivers/gles3/shaders/blend_shape.glsl index 2a0aa6a06d20..3efb6483d757 100644 --- a/drivers/gles3/shaders/blend_shape.glsl +++ b/drivers/gles3/shaders/blend_shape.glsl @@ -26,7 +26,7 @@ ARRAY_INDEX=8, layout(location = 0) in highp VFORMAT vertex_attrib; /* clang-format on */ #ifdef ENABLE_OCTAHEDRAL_COMPRESSION -layout(location = 2) in vec4 normal_tangent_attrib; +layout(location = 1) in vec4 normal_tangent_attrib; #else layout(location = 1) in vec3 normal_attrib; #endif