Skip to content

Commit

Permalink
Client: Set ZFar to 5000
Browse files Browse the repository at this point in the history
until we switch to infinite zfar
  • Loading branch information
SirLynix committed Dec 13, 2024
1 parent aea1e09 commit 61c9cfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Game/States/GameState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ namespace tsom
cameraComponent.UpdateClearColor(Nz::Color::Gray());
cameraComponent.UpdateRenderMask(tsom::Constants::RenderMask3D & ~tsom::Constants::RenderMaskLocalPlayer);
cameraComponent.UpdateZNear(0.1f);
cameraComponent.UpdateZFar(5000.f);

m_targetCameraFOV = cameraComponent.GetFOV();
}
Expand Down

0 comments on commit 61c9cfb

Please sign in to comment.