Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 99 bytes modified
parent
3abe39613b
commit
eb96b70503
|
@ -220,6 +220,7 @@ if (this.mouseIsDown) {
|
||||||
material.color.sub(this.toBlack);
|
material.color.sub(this.toBlack);
|
||||||
if (material.color.r <= 0) {
|
if (material.color.r <= 0) {
|
||||||
material.emissive.add(this.toRed);
|
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.color.r <= 0) {
|
||||||
if (mesh.instance.material.emissive) {
|
if (mesh.instance.material.emissive) {
|
||||||
mesh.instance.material.emissive.add(this.toRed);
|
mesh.instance.material.emissive.add(this.toRed);
|
||||||
|
mesh.instance.material.emissive.add(this.toRed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue