Having a duhh moment here but how do I do this?
I have a car and want to instance it as a proxy but have the instances look different by having different materials applied to the car paint element.
I can do it with the random colour colour map plugged into a gradient map plugged into diffuse but that only works for different colours.
I need to use different materials as some of the car paint materials are a mix of 2 materials and not just different colours and, very annoyingly, I can't just plug my car materials into the map slots of the gradient map...
Random materials over instances
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
- paride4331
- Posts: 3821
- Joined: Fri Sep 18, 2015 7:19 am
Hi Rik,
you could, depending on the case:
using istance range map node in your multimaterial carpaint or using a script to assign different material in your scene.
Select your objects and type in Listener this code:
for obj in selection do obj.material = meditMaterials[random 1 4]
Regards
Paride
you could, depending on the case:
using istance range map node in your multimaterial carpaint or using a script to assign different material in your scene.
Select your objects and type in Listener this code:
for obj in selection do obj.material = meditMaterials[random 1 4]
Regards
Paride
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid