Update: CC - Before Render - Moorcow (080g209iov.js) 72 bytes modified
parent
e45e593090
commit
908e2a96fc
|
@ -328,6 +328,8 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
if (mesh.position.x < 0) {
|
if (mesh.position.x < 0) {
|
||||||
this.leftLight.intensity += 0.1;
|
this.leftLight.intensity += 0.1;
|
||||||
this.leftLight.color.r += 0.05;
|
this.leftLight.color.r += 0.05;
|
||||||
|
this.leftLight.color.g -= 0.05;
|
||||||
|
this.leftLight.color.b -= 0.05;
|
||||||
this.leftLight.updateInstance('intensity');
|
this.leftLight.updateInstance('intensity');
|
||||||
this.leftLight.updateInstance('color');
|
this.leftLight.updateInstance('color');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue