Skip to content

Commit

Permalink
enabled frustum culling by default for in-game camera
Browse files Browse the repository at this point in the history
Signed-off-by: sameep-git <sameep.shah@tcu.edu>
  • Loading branch information
sameep-git committed Feb 8, 2025
1 parent 548a302 commit 71cd3d5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ OvRendering::Entities::Camera::Camera(OvTools::Utils::OptRef<OvMaths::FTransform
m_clearColorBuffer(true),
m_clearDepthBuffer(true),
m_clearStencilBuffer(true),
m_frustumGeometryCulling(false),
m_frustumLightCulling(false),
m_frustumGeometryCulling(true),
m_frustumLightCulling(true),
m_frustum{}
{
}
Expand Down Expand Up @@ -245,4 +245,4 @@ OvMaths::FMatrix4 OvRendering::Entities::Camera::CalculateViewMatrix() const
position.x + forward.x, position.y + forward.y, position.z + forward.z,
up.x, up.y, up.z
);
}
}

0 comments on commit 71cd3d5

Please sign in to comment.