Explorar el Código

Fix multiple occurrences of the worldX attributes

Popov72 hace 4 años
padre
commit
605a5679f7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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