Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 4 bytes modified

beta.r3js.org
-=yb4f310 2017-11-14 09:21:49 +01:00
parent 19190c6351
commit 55e52a2d03
1 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ this.spawnTime += data.delta;
if (this.mouseIsDown) {
this.fog.color += 0.01;
this.fog.color.r += 0.01;
if (this.fog.color.r > 1) {
this.fog.color.r = 1;
}
@ -223,7 +223,7 @@ if (this.mouseIsDown) {
}
this.renderer.updateInstance('clearColor');
this.fog.color -= 0.01;
this.fog.color.r -= 0.01;
if (this.fog.color.r < 0) {
this.fog.color.r = 0;
}