Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 13 bytes modified
parent
47948e1a9c
commit
ef793fef71
|
@ -213,7 +213,7 @@ if (this.mouseIsDown) {
|
||||||
mesh.name.indexOf('Stone') === -1 //stones
|
mesh.name.indexOf('Stone') === -1 //stones
|
||||||
) {
|
) {
|
||||||
|
|
||||||
if (mesh.materials[0].name.indexOf('Trees') === -1) {
|
if (mesh.name.indexOf('Trees') === -1) {
|
||||||
mesh.instance.material.color.sub(this.toBlack);
|
mesh.instance.material.color.sub(this.toBlack);
|
||||||
if (mesh.instance.material.color.r <= 0) {
|
if (mesh.instance.material.color.r <= 0) {
|
||||||
if (mesh.instance.material.emissive) {
|
if (mesh.instance.material.emissive) {
|
||||||
|
|
Loading…
Reference in New Issue