Browse Source

Shaders: Add a missing semi-colon causing compilation error (#23755)

Add a missing semi-colon in morphcolor_vertex.glsl.js which causes a shader program compilation error.
Alan Wu 3 years ago
parent
commit
0de4e75ee6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/shaders/ShaderChunk/morphcolor_vertex.glsl.js

+ 1 - 1
src/renderers/shaders/ShaderChunk/morphcolor_vertex.glsl.js

@@ -14,7 +14,7 @@ export default /* glsl */`
 
 
 		#elif defined( USE_COLOR )
 		#elif defined( USE_COLOR )
 
 
-			if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]
+			if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];
 
 
 		#endif
 		#endif