fix: ambient light brightness - use bright color 0xccccdd with 5x multiplier

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ruv 2026-03-05 11:01:40 -05:00
parent c429fc698f
commit 7bac93d06d
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);