Replace material color for InstancedMesh instance with .setColorAt()

Hi. Is it possible to completely replace material color for InstancedMesh instance with .setColorAt(). Atm material color is additive with .setColorAt() color and I would like to have only setColorAt() color if that color is present.

It’s actually multiplicative. Since it is not possible to “overwrite” all other color values of the material with the instance color, you have to configure default values. So the color property should be 0xffffff and color maps set to null. You potentially have to remove the color buffer attribute from the geometry, too.

1 Like