WebGL - Textured terrain with heightmap
问题 I'm trying to create a 3D terrain using WebGL. I have a jpg with the texture for the terrain, and another jpg with the height values (-1 to 1). I've looked at various wrapper libraries (like SpiderGL and Three.js), but I can't find a sutable example, and if I do (like in Three.js) the code is not documented and I can't figure out how to do it. Can anyone give me a good tutorial or example? There is an example at Three.js http://mrdoob.github.com/three.js/examples/webgl_geometry_terrain.html