Removing map from material

Description of the problem

I am trying to remove the texture applied to a material. When I set the material map property to null the object seems to somehow get the first texture I loaded (and applied to another object) mapped.

Three.js version
  • Dev
  • r76
  • r73
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
  • All of them
  • Windows
  • Linux
  • Android
  • IOS
Hardware Requirements (graphics card, VR Device, …)

Author: Fantashit

1 thought on “Removing map from material

  1. Maybe you are forgetting to set “needsUpdate” true? Something like = null;
    material.needsUpdate = true;

Comments are closed.