David Catuhe 5 년 전
부모
커밋
5482b8fb08
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/Materials/Node/Blocks/Vertex/morphTargetsBlock.ts

+ 4 - 0
src/Materials/Node/Blocks/Vertex/morphTargetsBlock.ts

@@ -215,6 +215,10 @@ export class MorphTargetsBlock extends NodeMaterialBlock {
                 if (hasTangents) {
                     state.attributes.push(VertexBuffer.TangentKind + index);
                 }
+
+                if (hasUVs) {
+                    state.attributes.push(VertexBuffer.UVKind + "_" + index);
+                }
             }
         }
     }