Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Terrain lighting

This topic is 5242 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm creating some terrain with precalculated lighting. As you can see in the image below it's not quite working right and was hoping someone could offer me some insight. The terrain is rendered using triangle strips and to get the normal of a vertex I take the average of the face normals of the 6 triangles (if its not on the edge of the terrain) that share it as a vertex. However it looks as though something is wrong with my method. Any help much appreciated. http://members.optushome.com.au/~dlcoates/terrain.jpg Edit: forgot to post the screenshot [edited by - ndr on May 17, 2004 11:25:44 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!