Hi there,
Here is a diamond refraction example I’ve made some months ago for a project, but it turns out this solution is too computationally intensive for my specific need, so I might as well publish the repo.
Hi there,
Here is a diamond refraction example I’ve made some months ago for a project, but it turns out this solution is too computationally intensive for my specific need, so I might as well publish the repo.
Hi, i’ve been playing with multiside refraction recently … i have modified three.js fresnel shader to receive backfaces.
Interesting.
The point of my demo was to actually refract the displayed backface geometry, not only to offset the envmap sampling. So I render the backfaces first on a render target, then sample it with an offset according to the front faces normal.