Sign in to follow this  

Determining what lights are in view.

Recommended Posts

Well if you need to cull lights that are in the view you can just use frustum culling, lights are simply points. Just google for a frustum culling tutorial.

If you need to determine which lights affect your viewing area you can build the frustum pyramid and test which lights are under a certain distance from it. Instead of taking the pyramid you could approximate the world with bounding boxes or spheres.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this