<story><title>Rendering photo-realistic glass in the browser</title><url>https://domenicobrz.github.io/webgl/projects/SSRefractionDepthPeeling/</url></story><parent_chain><item><author>jessep</author><text>I found this one by the same person even more amazing. It shows the background image being refracted through the glass: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;domenicobrz.github.io&amp;#x2F;webgl&amp;#x2F;projects&amp;#x2F;glass-absorption&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;domenicobrz.github.io&amp;#x2F;webgl&amp;#x2F;projects&amp;#x2F;glass-absorptio...&lt;/a&gt;</text></item></parent_chain><comment><author>Jasper_</author><text>Abusing the framebuffer contents to do convincing-unless-you-stare-closely-at-them reflections is a time-honored tradition stretching back to the early 2000s. Nintendo pulls off this effect a couple of times in this shot:&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;noclip.website&amp;#x2F;#smg&amp;#x2F;HeavensDoorGalaxy;ShareData=AY,m79a;TO8=kB:9sLRjXA$3GQ?k+ZUulYx8]bTS=!@a%7dUug3%7d8,X%7bo9Q7tZ=a~&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;noclip.website&amp;#x2F;#smg&amp;#x2F;HeavensDoorGalaxy;ShareData=AY,m...&lt;/a&gt;</text></comment>
<story><title>Rendering photo-realistic glass in the browser</title><url>https://domenicobrz.github.io/webgl/projects/SSRefractionDepthPeeling/</url></story><parent_chain><item><author>jessep</author><text>I found this one by the same person even more amazing. It shows the background image being refracted through the glass: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;domenicobrz.github.io&amp;#x2F;webgl&amp;#x2F;projects&amp;#x2F;glass-absorption&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;domenicobrz.github.io&amp;#x2F;webgl&amp;#x2F;projects&amp;#x2F;glass-absorptio...&lt;/a&gt;</text></item></parent_chain><comment><author>Pulcinella</author><text>Is this actually refracting through the glass? The distortion doesn’t seem quite correct.&lt;p&gt;I wonder if this is actually a clever cheat. Perhaps it’s actually not transparent, but a mirror surface and the cube map for reflections is actually just the skybox inverted. So instead of actually looking through the glass sculpture, it’s reflecting the inverted skybox.</text></comment>