more lighting work

This commit is contained in:
Stewart Allen 2022-01-19 21:39:11 -05:00
commit 7a4e0d515d
5 changed files with 9 additions and 8 deletions

View file

@ -1883,14 +1883,14 @@
SPACE.platform.setFont({rulerColor:'#888888'});
SPACE.platform.setGrid(gridMajor, gridMinor, 0x666666, 0x333333);
SPACE.platform.opacity(0.05);
SPACE.sky.set({ color: 0, ambient: { intensity: 0.08 } });
SPACE.sky.set({ color: 0, ambient: { intensity: 0.07 } });
DOC.body.classList.add('dark');
} else {
SPACE.platform.set({ light: 0.12 });
SPACE.platform.setFont({rulerColor:'#333333'});
SPACE.platform.setGrid(gridMajor, gridMinor, 0x999999, 0xcccccc);
SPACE.platform.opacity(0.2);
SPACE.sky.set({ color: 0xffffff, ambient: { intensity: 0.4 } });
SPACE.sky.set({ color: 0xffffff, ambient: { intensity: 0.3 } });
DOC.body.classList.remove('dark');
}
SPACE.platform.setSize();