Update: CC - Before Render - Moorcow (pxcqbyldn.js) 12 bytes modified
parent
1afe175261
commit
58a43c7910
|
@ -298,14 +298,14 @@ if (this.mouseIsDown) {
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
this.renderer.clearColor.r -= 0.01;
|
this.renderer.clearColor.r -= 0.01;
|
||||||
if (this.renderer.clearColor.r < 0) {
|
if (this.renderer.clearColor.r < 0.32) {
|
||||||
this.renderer.clearColor.r = 0;
|
this.renderer.clearColor.r = 0.32;
|
||||||
}
|
}
|
||||||
this.renderer.updateInstance('clearColor');
|
this.renderer.updateInstance('clearColor');
|
||||||
|
|
||||||
this.fog.color.r -= 0.01;
|
this.fog.color.r -= 0.01;
|
||||||
if (this.fog.color.r < 0) {
|
if (this.fog.color.r < 0.32) {
|
||||||
this.fog.color.r = 0;
|
this.fog.color.r = 0.32;
|
||||||
}
|
}
|
||||||
this.fog.updateInstance('color');
|
this.fog.updateInstance('color');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue