mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix broken normals in meshes with blend shapes
This commit is contained in:
parent
0ae6150d8e
commit
d780a0c8db
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ ARRAY_INDEX=8,
|
||||||
layout(location = 0) in highp VFORMAT vertex_attrib;
|
layout(location = 0) in highp VFORMAT vertex_attrib;
|
||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
#ifdef ENABLE_OCTAHEDRAL_COMPRESSION
|
#ifdef ENABLE_OCTAHEDRAL_COMPRESSION
|
||||||
layout(location = 2) in vec4 normal_tangent_attrib;
|
layout(location = 1) in vec4 normal_tangent_attrib;
|
||||||
#else
|
#else
|
||||||
layout(location = 1) in vec3 normal_attrib;
|
layout(location = 1) in vec3 normal_attrib;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue