Generating Textureless Terrain Height Data From Heightmap


Lately I’ve been playing around with webGl and I stumbled across a cool little demo: code: that I’d like to alter slightly to get some cool results.

I’m interested in changing the way the terrain is generated. Instead of layering 10 octaves of simplex noise (located in simplex3d.shader if you are looking through the code), I’d like to simply pull elevation data from a loaded heightmap.

I’ve spent a few days trying different things to no avail and I’m having trouble finding any more applicable resources online.

Any help would be greatly appreciated!