Browse Source

Added bilinear for fullscreen GUI

David Catuhe 7 years ago
parent
commit
1664939e3c
1 changed files with 1 additions and 1 deletions
  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 {
         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
             // Display
             var layer = new BABYLON.Layer(name + "_layer", null, scene, !foreground);
             var layer = new BABYLON.Layer(name + "_layer", null, scene, !foreground);