Selaa lähdekoodia

Disable anisotropy

Popov72 4 vuotta sitten
vanhempi
commit
0b891c2563
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      localDev/index.html

+ 2 - 0
localDev/index.html

@@ -94,6 +94,8 @@
                         engine = new BABYLON.Engine(canvas, false, { premultipliedAlpha: false, stencil: true, disableWebGL2Support: false, preserveDrawingBuffer: true });
                     }
 
+                    engine.getCaps().textureAnisotropicFilterExtension = false;
+
                     BABYLONDEVTOOLS.Loader.debugShortcut(engine);
 
                     // call the scene creation from the js.