Autoload Materials Script


A small maxscript for loading PBR texture sets into a Vray or Corona Materials automatically.
I’m using Substance Designer to make most of my materials these days and got annoyed by loading all the maps by hand every single time. So this script asks for a selection of maps and will generate a new material in the currently active material editor slot.
If your maps naming convention is not recognized automatically, you can adjust the naming convention in the upper part of the script – it should be self-explanatory.
The script expects a shared base name (like “Bricks_dirty”) and an identifier for the map type (like “Basecolor”) -> “Bricks_dirty_Basecolor.png”

Features:
– adjustable naming convention
– can load height maps into the (deactivated) displacement slot
– adjustable bitmap blur
– adjustable worldspace bitmap size
– DirectX and OpenGL normal map modes

How to install:
The script file is a macroscript, so you just have to to place it into your prefered macroscripts folder:
“…\Autodesk\3ds Max 2014\MacroScripts”
or
“C:\Users\YOURUSERNAME\AppData\Local\Autodesk\3dsMax\201x – 64bit\ENU\usermacros”

Restart max and you will find the “Autoload_Materials” script in the category “RacoonScripts”

 

DOWNLOAD SCRIPT

(rightclick, save as..)

 

Leave a comment

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.