diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-08-17 19:23:05 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2024-08-17 20:57:19 -0400 |
commit | 94aec3d1e619372b0652d298ded4d2a7ac96d131 (patch) | |
tree | 7ba0c7833f4f9adc0d1a8e79f70677b0e7f51dd8 /indra/newview/pipeline.cpp | |
parent | 0d9ddae0c6734f8ce76a5cdb40947f6da105c0b2 (diff) |
Avoid scaling probe shadow maps by RenderShadowResolutionScale
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
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); |