Jump to content
  • Advertisement

Archived

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

sockman

terrain/pr.308 =)

This topic is 6787 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

Chris, any way you can modify the terrain engine to display more tiles in the viewing frustrum? It''s annoying when a mountain goes out of range when viewed directly, and back in range on the sides.

Share this post


Link to post
Share on other sites
Advertisement
This happens because the terrain is a square and the fog is cutting off one corner. Imagine a square rotated by 45 degrees and then chop off the top corner along a plane.

I think the only solution would be to make the terrain mesh a circle rather than a square, but this complicates things greatly.

You can adjust how many tiles that are drawn but it will never change the way fogging is done.

Share this post


Link to post
Share on other sites
Thanks Chris. I knew that was the problem, I was just hoping there was a solution that I was missing.

BTW, what is PR_TerrainDetailScale for?

Share this post


Link to post
Share on other sites
PR_TerrainDetailScale controls how many times the detail texture repeats across a terrain tile.

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!