z-depth for office behind glass ?

is there a way to do that.

normally the glass “blocks” the renderpass …

can i make the glass somehow invisible for the z-depth renderpass ?

i could do two renderings for z-depth with and without glass but i guess thats no way that works propper ?

may be just impossibe in post ?

if there’s no easy tick box you could always re-render a second image without the glass, disable GI, maps, etc to help it render quick?

Not sure but if you set refraction > Affect Channels > All Channels. Does that work?

use “affect all channels” in the glass material

thanks guys forgot about that little button.

works fine