2
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
0de4e75ee6

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

@@ -14,7 +14,7 @@ export default /* glsl */`
 
 		#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