diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-10-12 13:02:23 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-10-12 13:02:23 -0700 |
commit | 07a830a4cef1ccc600f8c4dc5e4fcdba83df839b (patch) | |
tree | 87cfe09436ab532418ec8a4a8e336a7eba3be64f /indra/llmath/llcamera.h | |
parent | 5473c0e2da7b14e55890af8bfc145a1442c0beea (diff) |
SL-20062: Fix near clip on reflection probes being clamped to at or below 10
Diffstat (limited to 'indra/llmath/llcamera.h')
-rw-r--r-- | indra/llmath/llcamera.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llcamera.h b/indra/llmath/llcamera.h index 27eaa614c9..c4d04f5d02 100644 --- a/indra/llmath/llcamera.h +++ b/indra/llmath/llcamera.h @@ -39,7 +39,7 @@ const F32 DEFAULT_NEAR_PLANE = 0.25f; const F32 DEFAULT_FAR_PLANE = 64.f; // far reaches across two horizontal, not diagonal, regions const F32 MAX_ASPECT_RATIO = 50.0f; -const F32 MAX_NEAR_PLANE = 10.f; +const F32 MAX_NEAR_PLANE = 1023.9f; // Clamp the near plane just before the skybox ends const F32 MAX_FAR_PLANE = 100000.0f; //1000000.0f; // Max allowed. Not good Z precision though. const F32 MAX_FAR_CLIP = 512.0f; |