Hacker News new | ask | show | jobs
by nestoras 4843 days ago
Thank you! I didn't have time to implement image-space occlusion queries, plus I wasn't sure of the level of support they have on mobile hardware (not that this demo will run on anything mobile for the time being :)). I'm shooting a grid of rays through the terrain instead (see relevant screenshots), using various techniques to accelerate that.

The result is used for modulating the intensity of both the lens flares layer and the glare layer.

Nice article!

2 comments

FWIW, this demo runs on Chrome Beta for Android with WebGL enabled (although the UI is a bit unusable in that context).
what about antialiasing, is that feature available with webgl?

also, it would be awesome if you're able to implement highdpi mode http://www.khronos.org/webgl/wiki/HandlingHighDPI