Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 99 bytes modified

beta.r3js.org
-=yb4f310 2017-11-14 09:34:59 +01:00
parent 3abe39613b
commit eb96b70503
1 changed files with 2 additions and 0 deletions

View File

@ -220,6 +220,7 @@ if (this.mouseIsDown) {
material.color.sub(this.toBlack);
if (material.color.r <= 0) {
material.emissive.add(this.toRed);
material.emissive.add(this.toRed);
}
}
);
@ -228,6 +229,7 @@ if (this.mouseIsDown) {
if (mesh.instance.material.color.r <= 0) {
if (mesh.instance.material.emissive) {
mesh.instance.material.emissive.add(this.toRed);
mesh.instance.material.emissive.add(this.toRed);
}
}
}