Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Uploaded on Jan 5, 2010
Visit www.oskam.ch for source code, more information, demo videos, and music!
This terrain shader is a little project I made while I was working on an XNA engine. The terrain is drawn as a heightfield that is completely build together within the vertex shader. A 16x16 triangle grid is send to the GPU and, using hardware instancing, it is duplicaded and transformed to create the terrain. Using a color channel texture, 4 different textures can be smoothly blended over the surface.