Chaos Corona Forum
Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: mitchino on 2021-04-30, 16:10:40
-
I'm rendering a yoghurt pot. I want to create an opacity map so the top of the yoghurt fades away to transparency over a short distance. I have created this as a black and white map in Photoshop, blurred it, and applied it to the opacity channel. I'm getting an ugly darkening at the transparent edge of the mask. This doesn't happen if the map is not blurred.
This pic demonstrates the problem, to exaggerate it I've created a map with castellations.
How can I fix this and have the edge fading to transparency cleanly?
-
Anyone care to comment?
-
idk and from description, undefined
so start by providing your test scene.
otherwise, does this look fine?
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=33119.0;attach=147148;image)
16bpc EXR used for opacity / Pixel values show no darkening
Edit:
& Here's version using jpg for opacity.
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=33119.0;attach=147150;image)
Edit2:
No PS here, I'm using GIMP ;)
-
yours looks fine yes
my material is uv mapped to a slightly conical shape, could you try yours that way?
-
looking at mine, I can't see the darkening on the inside of the pot shape at the back, only on the front faces
-
I've attached a zip file with a c4d file and an opacity map.
I just cannot figure out why this is happening.
-
How the file renders. The problem only visible on the cone.
-
Here's the problem with a newly created texture. Same material applied to a sliced cylinder primitive using cylindrical projection, and a plane using flat projection.
The cylinder does not show the edge problem, the plane does.
In fact the problem shows up on every mesh I've tried except a cylinder.
-
Hi, what happens if you enable "Clip" in the opacity channel? ;)
-
tried that - the soft edge is replaced by a hard edge
-
My usual suspect is photoshop and how it handles things...
PS
attached file has a map made with GIMP
-
I can't render that file as I don't have Corona 7 with the new Physical material installed.
To be honest I've given up on Corona for this job and switched back to Octane - I have a deadline to meet.
-
Well, you could simply test in your scene using included texture & next time start with your specs...
Enjoy
-
Could you use my c4d file showing the problem from earlier, and create a similar map in GIMP and see if it works on my cone mesh?