Jump to content
  • Advertisement
Sign in to follow this  
Coluna

Expanding the frustum

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

Hello; Im implementing some shadow volume (from objects) in my terrain, using the Sun (directional, infinite volume) as the light caster...so it i only test if the light is on view, and witch objects r inside that volume, ill get ALL objects casting shadows ( for example, if a spaceship is right above, not inside the view frustum , if u look at the grounf u can see its shadow), but its obvious that wont run very fast... So i wanna expand the frustum, using an amount variable (or % or in meters), to get the objects that could cast shadows in the scene...i read about super frustum , but i didnt find any code to expand it, and i dont wanna a big bounding sphere around the player to do my tests....if anybody could help me...thanx!!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!