Chaos Corona Forum
Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: hankusp on 2023-10-13, 21:28:27
-
Hi
When I render an object with C4D hair and Corona Hair material aplied I do not have hairs in my RGB mask (connected to either Material ID of Hair material or Object ID). I do not also have hairs in my ID maps. I just have "naked" object, without the hair object in my masks.
Is therea way to make it working in masks?
-
Anybody could help me? There is no way to do that? How to mask hair object in Photoshop for postproduction then?
-
Is your mask comp tag on the hair object or the geo?
-
I've tried both options. I add it to the whole herarchy too (Hair object + geometry together). Nothing works for me...
-
Hi there, can you please share your multipass settings?
-
yes
-
Thanks, and can you share an image from the VFB multipass?
-
yes, sure. Thank you for your help.
-
Not sure I understand what exactly you are trying do...
Masking hairs like this? If so, maybe attached c4d file can help.
-
Hi
Jojorender - thank you for your help. It looks very strange, but the problem is in my Hair object. I don't know where. If I replace my Hair object by yours (the rest ofmy scene remains unchanged) masking works properly... Well - I don't know what can be wrong in my hair definition
-
Can you share your scene with us?
-
Also, if you changed versions (C4d or corona) during 'work-on-project', move (copy/paste) all your elements to a new scene file.
Oftentimes this helps.
-
Scene attached.
I did something wrong with hair definition. I don't know where... If I make new hair definition RGB masking works properly.
I'm total newbie to C4D Hair
-
It seems the problem was with the hair material. Not sure what exactly. I created a new one and copied the settings etc. Now it is working.
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=41146.0;attach=189478;image)
-
-
-
OK, I've finaly found the bug! :)
The problem is somewhere in Hair materials from Default Corona material library. When I create my own Hair Material and aply all the settings from material from library masking works perfectly well. I can have material ID mask and Object ID mask.
Maybe it makes sense to report this problem with hair library materials to Corona Development Team?
-
I can also confirm the issue is with the hair presets. Thanks for the heads up, I will report it.
(Internal ID=1235312935)