Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: nicolas7755 on 2019-03-04, 10:07:43

Title: [solved] shadowcatcher behind glass
Post by: nicolas7755 on 2019-03-04, 10:07:43
Hi everybody

I have the following scenario in an animation project: I'm standing inside a room looking out through a window. To the ground outside I applied a ShadowCatcher Material, so I can later compose everything correctly (the background will be replaced by real footage an there are animated objects on the ground happening).
This works fine as long as I disable the window glass. When I turn it on, the shadowcatcher doesn't work anymore (same with the alpha - the ground plane becomes visible).
How can I make this work?
I thought I could simply disable "visible in masks" in the glass material, but this doesn't change anything.

Best wishes
Nicolas
Title: Re: shadowcatcher behind glass
Post by: nicolas7755 on 2019-03-05, 11:42:53
Any ideas on this? :-)
Or do I simply have to render twice.
Title: Re: shadowcatcher behind glass
Post by: maru on 2019-03-06, 19:11:18
Does it work if you change the refraction mode of your window glass to "thin"? It would have no refraction then.
Generally, at this time it's a limitation of Corona (rendering masks in refraction/reflections). It will be improved in the future.
Title: Re: shadowcatcher behind glass
Post by: nicolas7755 on 2019-03-11, 09:07:52
Hi maru

Thanks for your reply, changing the refraction to thin did the trick.

Best wishes
Nicolas