Explorar o código

Disable anisotropy

Popov72 %!s(int64=4) %!d(string=hai) anos
pai
achega
0b891c2563
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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.