Chaos Corona Forum
Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: hankusp on 2023-10-09, 19:24:47
-
How do I invert a black and white bitmap when using it as an opacity mask? I can't find a "invert" button anywhere in the Corona bitmap shader.
-
You could use Corona Color Correct, it has an option called "Invert colors"
-
thank you a lot
-
You can also swap the black & white points in the texture :)
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=41110.0;attach=189044;image)
-
Yes, I've done it earlier - swaped black and white point. But according to my tests it works much better with Corona Color Correct method.
-
Keep in mind that Corona color correct invert is not linear. It doesn't matter with purely black and white masks like in your example, but if you want to invert greyscale textures like roughness, or displacement, you will get wrong result. You can use curves editor in Corona color correct if you want to get linear invert.
-
Ok, thank you a lot for your tip.