Ver código fonte

Fix multiple occurrences of the worldX attributes

Popov72 4 anos atrás
pai
commit
605a5679f7
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Meshes/linesMesh.ts

+ 1 - 1
src/Meshes/linesMesh.ts

@@ -79,7 +79,7 @@ export class LinesMesh extends Mesh {
 
         var defines: string[] = [];
         var options = {
-            attributes: [VertexBuffer.PositionKind, "world0", "world1", "world2", "world3"],
+            attributes: [VertexBuffer.PositionKind],
             uniforms: ["vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "vClipPlane5", "vClipPlane6", "world", "viewProjection"],
             needAlphaBlending: true,
             defines: defines