Hi again,
is it possible to change the baseColor
of a material via API?
I tried the following, but it has no effect:
// before scene loading
viewer.setMaterialEditable("Some Material");
// then
var material = viewer.findMaterial("Some Material");
var color = new THREE.Color("rgb(100, 50, 120)");
material.baseColor = color;
viewer.requestFrame();
ty
Simon