Copy diffuse slot map to bump slot...
Could you please help me with a simple script, which copies the map present in the diffuse slot to the bump slot of the same material? BUT it needs to work, both with mutltisubojects materials and also with vray materials...
So far i have this:
with undo "Map Copy" on
for obj in selection do
try(obj.material.bumpMap = copy obj.material.diffuseMap) catch()
But this works only on the standard materials. It doesnt work on vray materials and also it doesnt work on multisuboject materials. Could you help me please to get pass this problem?