Bläddra i källkod

Disable anisotropy

Popov72 4 år sedan
förälder
incheckning
0b891c2563
1 ändrade filer med 2 tillägg och 0 borttagningar
  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.