The glass seemingly refracts the page in the background, which is DOM. My guess is that it’s a static screenshot that’s in the scene. I tried something like this with a plane behind my mesh, but how would I achieve the masking, where the image is only seen through the refraction of the glass, so my canvas can be transparent and integrated into my page?
I’m incredibly impressed by the implementation of three js with the text…at the bottom of the page, the maker of the site has a contact section…I recommend asking the developer personally, you might find that they are open to giving you tips/help on this issue
now, if you wanted the selection behind the model, like in the original, that would be pretty easy, too, the html would have to be behind the canvas, but im using postprocessing (AO and tilt shift) which requires an opaque canvas.
@drcmda Thanks for the quick reply, and I appreciate you creating that demo project. Gonna take a look at that code, since I’m also using Webflow. I haven’t gotten around to learning about shaders so the code is a little intimidating but gonna see what I can make of it!