Light toned down
This commit is contained in:
parent
f774e3c126
commit
af9100dc62
@ -61,9 +61,9 @@
|
|||||||
let videoUrls = []; // Array to hold all video URLs
|
let videoUrls = []; // Array to hold all video URLs
|
||||||
let currentVideoIndex = -1; // Index of the currently playing video
|
let currentVideoIndex = -1; // Index of the currently playing video
|
||||||
|
|
||||||
const originalLampIntensity = 1.5; // Base intensity for the flickering lamp
|
const originalLampIntensity = 0.8; // Base intensity for the flickering lamp
|
||||||
const originalScreenIntensity = 0.2; // Base intensity for the screen glow
|
const originalScreenIntensity = 0.2; // Base intensity for the screen glow
|
||||||
const screenIntensityPulse = 0.4;
|
const screenIntensityPulse = 0.2;
|
||||||
|
|
||||||
const roomSize = 5;
|
const roomSize = 5;
|
||||||
const roomHeight = 3;
|
const roomHeight = 3;
|
||||||
@ -141,7 +141,7 @@
|
|||||||
const ambientLight = new THREE.AmbientLight(0x111111);
|
const ambientLight = new THREE.AmbientLight(0x111111);
|
||||||
scene.add(ambientLight);
|
scene.add(ambientLight);
|
||||||
|
|
||||||
const roomLight = new THREE.PointLight(0xffaa55, 0.2, roomSize);
|
const roomLight = new THREE.PointLight(0xffaa55, 0.05, roomSize);
|
||||||
roomLight.position.set(0, 1.8, 0);
|
roomLight.position.set(0, 1.8, 0);
|
||||||
scene.add(roomLight);
|
scene.add(roomLight);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user