浏览代码

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 年之前
父节点
当前提交
0de4e75ee6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 )
 
-			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