optimize: lil less darkness change
This commit is contained in:
parent
f2cc319d7a
commit
504600b09c
|
@ -141,7 +141,7 @@ export class App extends decorate(class {}) {
|
|||
if (this.worldTime.hour >= 18 && this.worldTime.hour < 21) {
|
||||
darkness = 0.8 * ((3 - (21 - this.worldTime.hour)) / 3);
|
||||
}
|
||||
this.darkness = Math.floor(darkness * 1000) / 1000;
|
||||
this.darkness = Math.floor(darkness * 500) / 500;
|
||||
}
|
||||
|
||||
connect() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user