Update: CC - Before Render - Moorcow (080g209iov.js) 145 bytes modified
parent
908e2a96fc
commit
5dc0d9232e
|
@ -327,11 +327,15 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
|||
|
||||
if (mesh.position.x < 0) {
|
||||
this.leftLight.intensity += 0.1;
|
||||
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('color');
|
||||
} else {
|
||||
this.rightLight.intensity += 0.1;
|
||||
this.rightLight.color.b -= 0.05;
|
||||
this.rightLight.updateInstance('intensity');
|
||||
this.rightLight.updateInstance('color');
|
||||
}
|
||||
|
||||
// var smokeParticleEngine = this.smokeParticleEngine.clone();
|
||||
|
|
Loading…
Reference in New Issue