Feature: basic fog

This commit is contained in:
Dejvino 2025-12-30 23:22:53 +00:00
parent 4feeab53de
commit 7f2abc635d

View File

@ -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);
}