- Open this file in a text editor:
C:\Users\username \AppData\Local\Autodesk\3dsMax\2019 - 64bit\ENU\scripts\poliigon\Poliigon_Material_Converter.ms
Replacing username with your windows login username
- Search for the line containing the term "flip_green". There should only exactly one match.
- Comment out the line by prepending with two hyphens, --
In particular, it should change from:
mat[#Bump_map].flip_green = on
To:
-- mat[#Bump_map].flip_green = on
- Restart 3ds Max to apply the change and try again
The script tries to enable the "Flip Green" checkbox of a VRayNormalMap . This fails either because (1) this parameter doesn't exist in your version of VRay, because you have either an older, or a newer, version than the script developer had, or because (2) your copy of VRay doesn't have VRayNormalMap at all. I can't say without more information about your config.
Try this - Open the MaxScript listener, type VRayNormalMap and hit enter. Does it say "undefined"? If not, then you have the texture. The flip_green parameter changes how normal maps interpret the green color channel, so if your material uses normal maps but they look wrong in VRay renderings, you might have to flip this manually, since the script isn't able to make the change itself.
Please note, I'm not familiar with this script, and can't the above information is correct. I'm just making a guess by reading through the maxscript. Hope it works!
Cheers,
Michaelson Britt