I want to use shadowcatcher to create a transparent background but want to keep the shadows so that I can composite it onto a background in photoshop.
When I render the scene everything look OK. But when I save the image as a PNG (with alpha) and open it in photoshop, the reflections on the ground are gone. It just doesn’t look right.
When Saving the same image as a JPG, everything look OK but I have no transparency of course.
Top image is how it is rendered and saved as JPG
Bottom image is the same image but saved as PNG and then added a white background layer in photoshop. All reflections on the floor are gone.
First thing is, of course, how can reflections appear if your background is white? They would have to be brighter than RGB 255, which is not possible in 8 or 16 bits.
Second thing is, shadows are multiplied while reflections are additive. You simply can’t have both without splitting the render output, that’s what render elements are for.
Alpha probably considers only objects and shadows, which, if you think about it, isn’t wrong at all.
Still, for what you want, you’d probably have to render all required elements and compose, as suggested above. There’s simply no way to get reflections to appear correctly without using additive mode, which requires reflections to be separate.
But…but…but… I have seen it being done in the Corona shadowcaster tutorial (part 4). They have no problems with compositing with just rendering with shadowcaster only.
It’s not a reflection but light bounce. Beauty pass shows you all elements but alpha channel is different and you can a dd more shadows in material. In photoshop you can open your alpha in 32bit(what is way more than PNG alpha) and adjust levels to see more or less shadows
The “reflection” is indeed indirect lighting. So I rendered that out as a seperate element.
But unfortunatlyn when loading it in Photoshop, i get the same result.
In de rendering tab it looks good. But when saved to exr or png the indirect lighting on the floor is just gone.
Ok i think i am understand what you want, when you rendering in compositing mode and see in beauty pass this is not real what is looks like, turn off composing mode and you will see real image, what you saw it’s some kind indirect pass what will compose with alpha. Then you render without compose mode you will notice what you do not have light bounce, to add it setup more lights or some hdri environment then you will start to see bounce and then you can change to compositing mode, now alpha will have this indirect bounce
Just made a quick test with a teapot on a plane with shadow catcher material set to full reflection in compositing mode. Both the shadows and the reflections shows up in the alpha and is tranfered as expected when saved to tif-format with alpha activated.
Thank you very much. This is helping me a lot. I have never used hdri mappings before. So i’m trying to replicate your scene without shadowcatcher and then build up from there…
I made the same scene from scratch and added your hdri mapping to the scene. I’m getting faceting results on the teapot and I don’t know why.
I have included my scene in this post as attachment.
The same for me. I have manage thats because of standard bitmap loader, if you load hdri via coronabitmap it will be fine as romullus mention, so it’s another bug i think.