sebavan 6 лет назад
Родитель
Сommit
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);
     }