Refraction texture issues

Actually, there’s a way to make your first PG artifact free, it is to set the depth property of the refraction texture to a small value. By default it is 1, by setting it to 0.2 (and clamping the texture), artifacts are invisible:

https://playground.babylonjs.com/#2JCKYB#5

2 Likes