To allow the surface of an mesh to refract other mesh inside the mesh

At the moment, refraction is effective for external meshs.
To allow the surface of an mesh to refract other mesh inside the mesh. It can make the effect more realistic .

(If Iā€™m wrong, please tell me how to do it :slight_smile:)

@Evgeni_Popov might have a trick but it is an incredibly hard situation in general to handle 100 % correctly and fast.

1 Like

My trick would be to take a photo and be happy with it :slight_smile:

Or use a ray tracer, like in Path-tracing in BabylonJS - #125 by PichouPichou

2 Likes