Batch mass add corona normal maps in between map and bump slot ❓❓

Hi,

I was wondering whether anyone has a script to mass/batch add a Corona Normal map between a Bitmap and the Bump slot, for selected objects.

I’ve searched high and low but can’t find anything.

This script can do a lot—like adding Color Corrections between nodes and more—but unfortunately it can’t add a Corona Normal map (unless I’m missing something). It can bulk-edit them, though.
https://www.scriptspot.com/3ds-max/scripts/corona-material-automator

Thanks!

You could do something like this, but I am assuming you have the correct gamma input already.
CoronaNormal.ms (1.18 KB)

Here is a better version that:

  • Takes the bitmap gamma into account and adjusts the CoronaNormal() 'add gamma to input ’ on/off automatically.
  • Tree search for bitmaps if they are in a mix node or similar (within the bump slot).
  • You can change in the last line whether you want it for all scene objects or just selection, just read the comment and adjust accordingly. Currently set to selection.

Edit: updated to v2c (download again since this fixes issues with items that already have a CoronaNormal node in the bump slot)

Edit2: version 3.0 attached - not much different just a minor speed improvement and split into functions so you can re-use these functions for other scripts you want to make (I usually do this so that it makes my future scripts more modular). You can also comment back in the macro (top 5 lines) if you want the button in your toolbar.
CoronaNormal_v2c.ms (1.81 KB)
JV_CoronaNormal_v3.0.ms (2.76 KB)

Awesome! thank you!!! appreciate the time you spent for me :smiley:

You are welcome :smiley: