Refraction example

Is there a good and up to date example about refraction? So far I found only this one but is using version 60.

Thanks in advance

There are quite a few in official examples ->

(Keep in mind - afair someone mentioned Refractor works only on flat surfaces. So if you’d like to do refraction as on the example you sent, you probably need to use cube maps with mapping.)

The pendant to the Stemkoski example is:

THREE.Refractor provides real-time refractions for flat surfaces and is more expensive than just using an environment map with CubeRefractionMapping.

1 Like