362 votes
Date Updated: 
Author Name: 
Ivan Tepavicharov

Render different types of masks (Luminance, RGB, Reflection, Lights/Shadows, ObjectsID, SSS, Texture, AO, ZDepth, Specular, Refraction). The script don't affect the scene materials, lights and render settings. Support "FumeFX" and "HairFarm".

 Version: 5.82.0

  • change SaveDialog
  • add "JPEG, BMP, Cineon, V-Ray image, HDRI" format when save image
  • some interface bugs fixed
  • update "SAVE Mask in 3dsmax File"
  • update "Mask State"
  • add more options to determine ZDepth ("Drag", "3 Point")

Version: 5.81.0

  • fix "Keep Opacity Map" working with MultiMaterial
  • add "Rename" button in "Mask State"



Additional Info: 

Category "IllusionBoxStudio"

Version Requirement: 
3dsmax 2012 - 2016


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ivan Tepavicharov's picture

it's almost ready, but i

it's almost ready, but i don't have free time to finish

vfga10's picture

Make same script for Corona Renderer?

Hi, I used your Script a lot when I used Vray, but now that Im using Corona, I cant use it because It doesn't work, Could you make and update version which works with Corona? Thank you

llld's picture

shadow mask problem

Thanks for your script.
but "shadow mask" dosen't work in's all black.i can't see and select the shadow in ps. so i read the script and found that all selected objects are black material, same as unselected objects.and the background color is black that a bug or maybe i missed somthing?

zrK's picture


Hello again :) I took the liberty to hire a talented guy who modified your script with my previous request. Here is a link to this version that i find very very usefull, maybe you can add those mods into your installer if you find them interresting ? Cheers

(Credit Andriy Pogribniy)

zrK's picture

Frame Buffer

Hello Ivan :) Using your script almost everyday, i am wondering if a slight tweak could be possible ?
I'm using the Vray Frame Buffer, and it would be fantastic if RenderMask could force using the max Frame buffer instead ?

That would preserve the previous render (for region renders for examples) and mainly, that would avoid the color corrections or exposure corrections applied on the VFB, that affect a lot the masks !!

I have no idea if this is possible though ...


ale_i3's picture


Hi, if you want that Rendermask work fine with Forest pro, you have to unchheck the CONSOLIDATE button on the Geometry panel in each Forest object. ;-)

Duckraid's picture

Forest Pack Support

First we would like to thank you for the life saver script its our number one script in the office:).
We are trying to use RenderMask with the Forest Pack plugin Pro from itoo soft.
Sometimes it works and sometimes it doesn't, most of the time it does not work and we tried several tricks and modes (Wirecolors, Luminance etc..) selecting at the same time the distributed elements and the surface we are scattering on, non of these works. So I thought sharing this with you.
Thank you a lot for your efforts and the good work.

Growanimated's picture

Almost perfect.. almost! Except opacity map issue.. :(

Thanks for your script.

But there is an issue with the opacity map option. The rendered matte cutout and the foreground object material opacity don't match up!

Perhaps this is because of 2 sided material?

Is there a way to fix this? Or am I missing something?

3ds max "matte element with object id" works perfectly but using it render times are a lot bigger.


zrK's picture

Fantastic ! thank you for the

Fantastic ! thank you for the update !!

Ivan Tepavicharov's picture

"*.jpg" support, Done.

"*.jpg" support, Done.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.