Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Terrain system in XNA

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,130
Google+
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 19, 2009

This is my first try at a terrain system in xna. It uses a quadtree approach to speed up rendering. The terrain shown here is 2048x2048 in size. The entire terrain is rendered using a 16x16 grid mesh at a time, streched to varying sizes. It samples from a height texture in the vertex shader to build the geometry. It reads the normals from another texture and reads from a third texture to blend between the dirt and grass texture. A depth map is also rendered to be used for the shadowmapping. The terrain is modified and painted in realtime and the light is rotated and elavated.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • this looks awesome!

  • hey i need help in XNA could you help me?

  • Good work

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more