Re:Rendering large terrains
by soup10 on Monday March 10, 2014 @05:12AM
(#7371942)
Cool demo and writeup. Why's is it so sparkly though?
[ Parent
| on HN ]
There's a specular light positioned above the terrain, which adds the sparkle (light3 in https://github.com/felixpalmer/lod-terrain/blob/master/js/sh...). If you want to play around with changing the light etc, you can use Mozilla's awesome in-browser GLSL editor (currently in FF beta): https://hacks.mozilla.org/2013/11/live-editing-webgl-shaders...
Probably aliasing due to undersampling.
Terrain rendering is probably one of the things where GPU-based raymarching really is an option nowadays.
http://iquilezles.org/www/articles/terrainmarching/terrainma...
Probably is - I was astonished when I first saw this raymarched procedural terrain at shadertoy: https://www.shadertoy.com/view/4slGD4
::rant:: Crashed firefox( latest version ); tried chrome, loads forever and then doesn't work. For whom is this made, if it doesn't work on my i5 with a decent gpu?