Update: CC - Before Render - Moorcow (autqzs1rvq.js) 18 bytes modified
parent
b2c910bd49
commit
91393cfd7a
|
@ -382,10 +382,10 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
|||
this.leftLight.intensity = 1;
|
||||
}
|
||||
|
||||
this.leftLight.color.g -= 0.05;
|
||||
this.leftLight.color.b -= 0.05;
|
||||
// this.leftLight.color.g -= 0.05;
|
||||
// this.leftLight.color.b -= 0.05;
|
||||
this.leftLight.updateInstance('intensity');
|
||||
this.leftLight.updateInstance('color');
|
||||
// this.leftLight.updateInstance('color');
|
||||
} else {
|
||||
this.rightLight.intensity += 0.07;
|
||||
|
||||
|
@ -393,9 +393,9 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
|||
this.rightLight.intensity = 1;
|
||||
}
|
||||
|
||||
this.rightLight.color.b -= 0.05;
|
||||
// this.rightLight.color.b -= 0.05;
|
||||
this.rightLight.updateInstance('intensity');
|
||||
this.rightLight.updateInstance('color');
|
||||
// this.rightLight.updateInstance('color');
|
||||
}
|
||||
|
||||
// var smokeParticleEngine = this.smokeParticleEngine.clone();
|
||||
|
@ -566,10 +566,10 @@ if (this.mouseIsDown) {
|
|||
}
|
||||
this.renderer.updateInstance('clearColor');
|
||||
|
||||
this.fog.color.r -= 0.01;
|
||||
if (this.fog.color.r < 0.32) {
|
||||
this.fog.color.r = 0.32;
|
||||
}
|
||||
// this.fog.color.r -= 0.01;
|
||||
// if (this.fog.color.r < 0.32) {
|
||||
// this.fog.color.r = 0.32;
|
||||
// }
|
||||
// this.fog.updateInstance('color');
|
||||
|
||||
this.throwerLight.intensity -= 0.05;
|
||||
|
|
Loading…
Reference in New Issue