summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-08-17 19:23:05 -0400
committerRye Mutt <rye@alchemyviewer.org>2024-08-17 20:57:19 -0400
commit94aec3d1e619372b0652d298ded4d2a7ac96d131 (patch)
tree7ba0c7833f4f9adc0d1a8e79f70677b0e7f51dd8 /indra/newview/pipeline.cpp
parent0d9ddae0c6734f8ce76a5cdb40947f6da105c0b2 (diff)
Avoid scaling probe shadow maps by RenderShadowResolutionScale
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 2bafa6e3af..979d0eba7e 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -896,7 +896,7 @@ bool LLPipeline::allocateShadowBuffer(U32 resX, U32 resY)
LL_PROFILE_ZONE_SCOPED_CATEGORY_DISPLAY;
S32 shadow_detail = RenderShadowDetail;
- F32 scale = llmax(0.f, RenderShadowResolutionScale);
+ F32 scale = gCubeSnapshot ? 1.0 : llmax(0.f, RenderShadowResolutionScale); // Don't scale probe shadow maps
U32 sun_shadow_map_width = BlurHappySize(resX, scale);
U32 sun_shadow_map_height = BlurHappySize(resY, scale);