Hi I have a big number of vray materials in my scene and I’m trying to strip them to the basics and keep only the diffuse texture. I managed to reset the reflection, refraction and remove the bump but I’m struggling with the diffuse as most materials have two color correction maps of a single bitmap plugged into a falloff map. So basically I’m trying to assign only the bitmap straight into the diffuse. Here is my sript so far:
for i in (getclassinstances vraymtl) do
(
i.reflection_glossiness = 1
i.refraction_glossiness = 1
i.texmap_reflection_on = false
i.texmap_bump_on = false
i.texmap_bump = null
i.texmap_reflection = null
i.reflection = black
)
Any help will be greatly appreciated !