Update: CC - Before Render - Moorcow (autqzs1rvq.js) 6 bytes modified
parent
1276e0559b
commit
1aac010339
|
@ -376,10 +376,10 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
this.minimumRendererRed += 0.01;
|
this.minimumRendererRed += 0.01;
|
||||||
|
|
||||||
if (mesh.position.x < 0) {
|
if (mesh.position.x < 0) {
|
||||||
this.leftLight.intensity += 0.1;
|
this.leftLight.intensity += 0.07;
|
||||||
|
|
||||||
if (this.leftLight.intensity >= 1.5) {
|
if (this.leftLight.intensity >= 1) {
|
||||||
this.leftLight.intensity = 1.5;
|
this.leftLight.intensity = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.leftLight.color.g -= 0.05;
|
this.leftLight.color.g -= 0.05;
|
||||||
|
@ -387,10 +387,10 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
this.leftLight.updateInstance('intensity');
|
this.leftLight.updateInstance('intensity');
|
||||||
this.leftLight.updateInstance('color');
|
this.leftLight.updateInstance('color');
|
||||||
} else {
|
} else {
|
||||||
this.rightLight.intensity += 0.1;
|
this.rightLight.intensity += 0.07;
|
||||||
|
|
||||||
if (this.rightLight.intensity >= 1.5) {
|
if (this.rightLight.intensity >= 1) {
|
||||||
this.rightLight.intensity = 1.5;
|
this.rightLight.intensity = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.rightLight.color.b -= 0.05;
|
this.rightLight.color.b -= 0.05;
|
||||||
|
|
Loading…
Reference in New Issue