Compare commits

..

2 Commits

2 changed files with 6 additions and 2 deletions

View File

@ -61,6 +61,10 @@ export default class Sunshine {
set darkness(v) {
this.options.darkness = v
this.viewer.shadowMap.darkness = 1.0 - this.options.darkness
this._elms.darkness &&
this._elms.darkness.forEach(item => {
item.value = v
})
}
get speed() {