Prechádzať zdrojové kódy

Fix default LOD Scale Offset on HDR Texture

sebastien 7 rokov pred
rodič
commit
5c68457e3b

+ 4 - 0
src/Materials/Textures/babylon.hdrCubeTexture.ts

@@ -137,6 +137,10 @@ module BABYLON {
          */
         private loadTexture() {
             var callback = (buffer: ArrayBuffer): Nullable<ArrayBufferView[]> => {
+
+                this.lodGenerationOffset = 0.0;
+                this.lodGenerationScale = 0.8;
+
                 let scene = this.getScene();
 
                 if (!scene) {