I am trying to make a 3D objects that are refractive using just SceneKit and perhaps a bit of code in Swift and Metal.
There are examples made using Unity, however, I do not have access to Unity in my Mac. I decided to just try to make or source some kind of Metal material that does refraction.
The closest is this, but in Objective C and did not compile because the writer might need to update the book.
http://metalbyexample.com/reflection-and-refraction/
I am still searching through to find Apple example that actually hiting on refractive streaming background video plate.
Apple SceneKit Material PBR is actually pretty cool for Metalic and reflective surface. Even the Blinn and Phong works awesome with Fresnel edge highlight... it is the bubble shader that I wish can be done simply via material.