Skip to content

Commit 9ed9d4a

Browse files
Don't apply fog on skybox by default (#16923)
1 parent c8eb309 commit 9ed9d4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/tools/viewer/src/viewer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ function createSkybox(scene: Scene, camera: Camera, reflectionTexture: BaseTextu
216216
hdrSkybox.material = hdrSkyboxMaterial;
217217
hdrSkybox.isPickable = false;
218218
hdrSkybox.infiniteDistance = true;
219+
hdrSkybox.applyFog = false;
219220

220221
updateSkybox(hdrSkybox, camera);
221222

0 commit comments

Comments
 (0)