Remove texture from materials


(Udson0027) #1

Good afternoon,

How can I remove textures from roughness and metalness ?

Thanks


#2

Using the Viewer API?

I think you could do something like Material.channels.RoughnessPBR.texture.uid = null or Material.channels.RoughnessPBR.enabled = false and then do setMaterial(Material). @paul_sketch ?