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

beta.r3js.org
-=yb4f310 2017-11-14 13:19:53 +01:00
parent 6ab5cbc1a0
commit 31d3cb0546
1 changed files with 121 additions and 122 deletions

View File

@ -227,9 +227,8 @@ if (this.mouseIsDown) {
mesh.instance.material.color.sub(this.toBlack);
if (mesh.instance.material.color.r
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);