David Catuhe 5 gadi atpakaļ
vecāks
revīzija
5482b8fb08

+ 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);
+                }
             }
         }
     }