Update: CC - Before Render - Moorcow (pxcqbyldn.js) 12 bytes modified

beta.r3js.org
-=yb4f310 2017-11-15 12:24:08 +01:00
parent 1afe175261
commit 58a43c7910
1 changed files with 4 additions and 4 deletions

View File

@ -298,14 +298,14 @@ if (this.mouseIsDown) {
} else {
this.renderer.clearColor.r -= 0.01;
if (this.renderer.clearColor.r < 0) {
this.renderer.clearColor.r = 0;
if (this.renderer.clearColor.r < 0.32) {
this.renderer.clearColor.r = 0.32;
}
this.renderer.updateInstance('clearColor');
this.fog.color.r -= 0.01;
if (this.fog.color.r < 0) {
this.fog.color.r = 0;
if (this.fog.color.r < 0.32) {
this.fog.color.r = 0.32;
}
this.fog.updateInstance('color');
}