Explorar el Código

Added bilinear for fullscreen GUI

David Catuhe hace 7 años
padre
commit
1664939e3c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gui/src/advancedDynamicTexture.ts

+ 1 - 1
gui/src/advancedDynamicTexture.ts

@@ -509,7 +509,7 @@ module BABYLON.GUI {
         }
 
         public static CreateFullscreenUI(name: string, foreground: boolean = true, scene: Nullable<Scene> = null): AdvancedDynamicTexture {
-            var result = new AdvancedDynamicTexture(name, 0, 0, scene);
+            var result = new AdvancedDynamicTexture(name, 0, 0, scene, false, Texture.BILINEAR_SAMPLINGMODE);
 
             // Display
             var layer = new BABYLON.Layer(name + "_layer", null, scene, !foreground);