Advertisement Jump to content
Sign in to follow this  

Expanding the frustum

This topic is 5182 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 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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!