Jump to content

Cannot change Material of Mesh


Recommended Posts

Hiya Inxs, sorry to hear you are having problems.

General advice:  console.log(everything);  :)

console.log(mesh.material.name) before the click, after the click, even during the click.

Check on every step.  Old mesh.material should be gone... once you add a different mesh.material, of course.

Throw a scene.render() in there, after the material change, what-the-heck.  There HAS TO BE some kind of logical explanation for this.

It is likely on the tip of our noses, so naturally, it is difficult to see.  :)  I will keep thinking, too.  hmm.  Report discoveries, if you make some.  thx!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...