I have big architectural scenes, some setup to render with V-Ray and some setup to render with Corona.
I’m looking for a solution for the following problem for each of these two renderers.
I need to have all transparent windows rendered separately, so that I have depth and color values for both, the window as well as whatever is behind the window.
Basically something such that if I compose Windowless_render + Window_only_render.rgb * window_only_render.alpha = original render
What’s the easiest way to separate opaque and glass windows into separate renderings, such that the glass windows still contain the proper reflections of the rest of the scene, but so that it only contains the pixels of the glass? (also, of some opaque object partially obstructs a window, then these pixels should be black in the window_only rendering).
What’s the easiest way to achieve this for V-Ray and Corona renderer? (if you know a solution for only one of these, that’s fine too)