fix: brighten ambient light color and increase multiplier for room brightness slider

The ambient light color 0x446688 (dark blue-gray) was too dim to produce
visible brightness changes. Changed to 0xccccdd (bright neutral) with 5x
multiplier. Bumped SETTINGS_VERSION to force fresh defaults.

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
ruv 2026-03-05 10:56:37 -05:00
parent 944076733e
commit fb782e0d71
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ export const DEFAULTS = {
scenario: 'auto', cycle: 30, dataSource: 'demo', wsUrl: '',
};
export const SETTINGS_VERSION = '5';
export const SETTINGS_VERSION = '6';
export const PRESETS = {
foundation: {},
@ -196,7 +196,7 @@ export class HudController {
this._bindRange('opt-aura', 'aura');
this._bindRange('opt-field', 'field', v => { obs._fieldMat.opacity = v; });
this._bindRange('opt-waves', 'waves');
this._bindRange('opt-ambient', 'ambient', v => { obs._ambient.intensity = v * 3.0; });
this._bindRange('opt-ambient', 'ambient', v => { obs._ambient.intensity = v * 5.0; });
this._bindRange('opt-reflect', 'reflect', v => {
obs._floorMat.roughness = 1.0 - v * 0.7;
obs._floorMat.metalness = v * 0.5;
@ -346,7 +346,7 @@ export class HudController {
obs._applyPostSettings();
obs._renderer.toneMappingExposure = obs.settings.exposure;
obs._fieldMat.opacity = obs.settings.field;
obs._ambient.intensity = obs.settings.ambient * 3.0;
obs._ambient.intensity = obs.settings.ambient * 5.0;
obs._floorMat.roughness = 1.0 - obs.settings.reflect * 0.7;
obs._floorMat.metalness = obs.settings.reflect * 0.5;
obs._camera.fov = obs.settings.fov;

View file

@ -145,7 +145,7 @@ class Observatory {
// ---- Lighting ----
_setupLighting() {
this._ambient = new THREE.AmbientLight(0x446688, this.settings.ambient * 3.0);
this._ambient = new THREE.AmbientLight(0xccccdd, this.settings.ambient * 5.0);
this._scene.add(this._ambient);
const hemi = new THREE.HemisphereLight(0x6688bb, 0x203040, 1.2);