Manual Frustum culling

I’m trying out a fast frustum culling method to cull a large starfield down to size (Some 10,000 stars - don’t ask).

I’ve found some code to do this here: http://crownandcutlass.com/features/technicaldetails/frustum.html

GL_PROJECTION_MATRIX seems to be Camera::projectionMatrix

However is GL_MODELVIEW_MATRIX is that equivalent to Camera::worldToCameraMatrix ?

The answer appears to be “yes”

:slight_smile:

Yes :slight_smile:

And there are some functions in GeometryUtility class (new in Unity 2.0) that could help with culling.