Refraction distortion in BabylonJS

I’m searching for an equivalent of this three.js example:
https://stemkoski.github.io/Three.js/Refraction.html

I do see that there is a Refraction texture (https://playground.babylonjs.com/#22KZUW#15), but I’m not sure on how to distort it like with the sphere.

Is there any idea on how I can do this?

1 Like

Always helps to formulate questions to get your answers right?

Making it a sphere made everything understandable… https://playground.babylonjs.com/#22KZUW#166

2 Likes