Seeking Examples of Glass-like Effects

I’m looking for examples of glass-like effects created using BabylonJS, similar to the ones found in the link provided. Could anyone share Playground links for such examples?

https://caustics.activetheory.dev/

I don’t think we have such advanced glass effects in Babylon at the moment. The classic glass effect can be achieved by combining reflection and refraction in the PBR material:

Is this what you are looking for?

1 Like

Thank you for sharing this!, I was looking more something advanced like in the link.

The effect in the link is almost impossible to do on mobile due to the resources involved in the caustics generation + dispersion and such.

@PirateJC has a video of caustics for nme IIRC https://www.youtube.com/watch?v=TJBk3G4mMMo

1 Like

Did you find a solution, with Babylon or elsewhere?

I’m looking for a similar effect. Found this one, but it does not have WebGPU support:

https://polygonjs.com/examples/bynode:mat:raymarchingbuilder:refractions

https://codesandbox.io/p/sandbox/polygonjs-export-to-vanilla-js-d9x76v?file=%2Fnode_modules%2F.store%2F%40polygonjs%2Fpolygonjs%401.5.73%2Fnode_modules%2F%40polygonjs%2Fpolygonjs%2Fdist%2Fsrc%2Fengine%2Fnodes%2Fmat%2FRayMarchingBuilder.d.ts%3A6%2C1

No, sorry :frowning: