From 7f2abc635d10f74e8754092bd58065a082d862d4 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Tue, 30 Dec 2025 23:22:53 +0000 Subject: [PATCH] Feature: basic fog --- party-stage/src/scene/root.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/party-stage/src/scene/root.js b/party-stage/src/scene/root.js index a0f93a0..cc0c2a9 100644 --- a/party-stage/src/scene/root.js +++ b/party-stage/src/scene/root.js @@ -56,4 +56,9 @@ export function createSceneObjects() { } state.scene.add(hemisphereLight); + + // Add fog for depth and atmosphere + const fogColor = 0x040409; + state.scene.fog = new THREE.FogExp2(fogColor, 0.04); + state.scene.background = new THREE.Color(fogColor); }