sebavan пре 6 година
родитељ
комит
7bb7d10fb7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Materials/effectRenderer.ts

+ 1 - 1
src/Materials/effectRenderer.ts

@@ -277,8 +277,8 @@ export class EffectWrapper {
         }
 
         this.effect = new Effect(effectCreationOptions,
-            uniformNames,
             creationOptions.attributeNames || ["position"],
+            uniformNames,
             creationOptions.samplerNames,
             creationOptions.engine);
     }