Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
noname0310 committed Dec 17, 2024
2 parents f57f8d3 + 862a3cd commit 730d499
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Loader/Shaders/mmdOutline.vertex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ void main(void)
vec3 normalUpdated = normal;
#ifdef UV1
vec2 uvUpdated = uv;
#endif
#ifdef UV2
vec2 uv2Updated = uv2;
#endif
#include<morphTargetsVertexGlobal>
#include<morphTargetsVertex>[0..maxSimultaneousMorphTargets]
Expand All @@ -85,7 +88,7 @@ void main(void)
vUV = vec2(diffuseMatrix * vec4(uvUpdated, 1.0, 0.0));
#endif
#ifdef UV2
vUV = vec2(diffuseMatrix * vec4(uv2, 1.0, 0.0));
vUV = vec2(diffuseMatrix * vec4(uv2Updated, 1.0, 0.0));
#endif
#endif
#include<clipPlaneVertex>
Expand Down

0 comments on commit 730d499

Please sign in to comment.