I want to set diffuse color to white for all selection material.
I could set white by new material. But I want to overwrite existing material to keep texture.
Is there any way to do that?
for o in selection do ( Rr= 255 Rg= 255 Rb= 255 m = standardmaterial() m.diffuse = color Rr Rg Rb o.material = m )