I have been frequenting Philip Rideout's blog. Recently, I had to implement the glass effect in three.js. I found out a nifty technique thanks to ofcourse Philip who details a pretty useful technique here. I managed to port it to three.js and then I added in specular highlights. The result ...
I will detail the internals if there is some interest.
Dragon |
Stanford bunny |
Armadillo |
I'm interested
ReplyDeleteThanks Randall Rauwendaal for your interest. By the way great work on solid voxelization (JCGT paper). I will do an edit soon.
ReplyDeleteIs there any chance you could share a live demo so we can take a look at the code? Your glass effect for ThreeJS is amazing, I would like to learn how to do it!
ReplyDelete