Explorar o código

Fix broken normals in meshes with blend shapes

Pedro J. Estébanez %!s(int64=3) %!d(string=hai) anos
pai
achega
d780a0c8db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/gles3/shaders/blend_shape.glsl

+ 1 - 1
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