sebavan 6 năm trước cách đây
mục cha
commit
7bb7d10fb7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
     }