NormalMap to MultisubTex

Hi there, just want to know if theres a way to apply automatically the gamma of normal map with multisubtex, like vraybitmap does in a single map.
Normally I use the Script Gamma Organizer to set gamma to bitmaps but it doesnt work with vraybitmaps, at least not in the free version​

So as not to overcomplicate things, here’s a simple script to switch VRayBitmap’s color space in a VRayMultiSubTex with a specific name:


for i in (getClassInstances VRayMultiSubTex) where i.name == "Map #1" do (
subTextureArray = i.texmap
for p in subTextureArray where p != undefined do p.color_space=4
)​

Replace “Map 1” with the name of the VRayMultiSubTex node and set the value you need for the color space transfer function (0-None; 1- Inverse Gamma; 2- sRGB; 3 - from 3ds Max; 4 - Auto).

Thank u Hermit, Hope this could be something that NormapMap could do in the future

Are you loading udims by chance?

Nop, just regular Maps