Author Topic: How to Optimize Falloff Nodes in Bulk...  (Read 1338 times)

2024-05-31, 09:56:04

khazuma

  • Active Users
  • **
  • Posts: 37
    • View Profile
Has this been happening since Corona 11? When I use the falloff that I previously used, I get the following error message during rendering:

"Falloff map in Fresnel mode is not supported in Base IOR slot.
Material with the problem: (Material_Name)"

Since I use it a lot, it's difficult to change them one by one, so I'm looking for a way to change them all at once.
Does anyone know how to do this?

2024-05-31, 10:48:02
Reply #1

alexyork

  • Active Users
  • **
  • Posts: 743
  • Partner at Recent Spaces
    • View Profile
    • RECENT SPACES
Nik's BatchMaterialEditor would probably help here.

https://www.scriptspot.com/3ds-max/scripts/batch-material-editor
Alex York
Partner
RECENT SPACES
recentspaces.com

2024-06-03, 04:50:34
Reply #2

khazuma

  • Active Users
  • **
  • Posts: 37
    • View Profile
Nice script! But it's a bit hard to understand how to use it...
Could you show me how to set it up to solve this problem?

2024-06-03, 06:48:28
Reply #3

Tom

  • Active Users
  • **
  • Posts: 335
    • View Profile
The instructions on Maxscript website are pretty self explanatory: first select the type of material you want to work on (CoronaLegacyMtl, CoronaPhysicalMtl ...), then select whta materials you want to work on (materials of selected objects, Medit selection ... beware the script doesn't seem to work with SME), and finally, in your case, you want to select "Map - texmapFresnelIor" (if I'm not wrong, please double check) and select "Clear map slot" at the bottom of the script UI so that you will delete all maps plugged into the FresnelIor map slot for the given materials.

Please double check what I say, and save your work before proceeding as this operation is undoable and I could possibly have misunderstood your query.

2024-06-03, 10:34:25
Reply #4

khazuma

  • Active Users
  • **
  • Posts: 37
    • View Profile
Hello Tom, thanks for explaining. I think I finally understand the structure of this script.

Thanks to you too, Alex!