I’m trying to have my scene dark mode compatible. I have set an interval timer to check is dark mode had been enabled and it then changes a javascript object which contains several THREE.colors which I use throughout my scene on multiple meshes. When triggered, I change the THREE.Colors with .set() the color updates but doesn’t effect the mesh materials who use that THREE.Color. Are the meshes and the THREE.Color in their .color property not dynamically linked? is there a specific way to update so that the color change propagates to all meshes the use it in the scene?
Would greatly appreciate any help to know if this is possible.
Merry Christmas!