Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: hiramiya on 2023-06-13, 14:39:43
-
Is there a way to get a mask rendered for decals?
For instance, in the attached image is there a way to render a mask for the pink parts which are a Corona Decal in this case?
Material ID, Object ID, or anything else dont seem to work.
Previously in situations like these, I would have to make a second render with a black material override for all the materials in a scene, and then turn all the label/decal materials into self-illuminating materials to get a black and white render to use as a mask in post. I was under the impression that Corona Decals would spare me the second render.
-
Try CMasking_ID in Instance ID mode. Should work with decals.
-
Well done! I didn't notice it! Thank you very much!
-
You are welcome! There is a possibility that decals support will be extended to other render elements in the future, you can subscribe to this topic if you want to be informed when/if that happens: https://forum.corona-renderer.com/index.php?topic=40121.0