summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-12-13 12:47:04 -0600
committerRunitaiLinden <davep@lindenlab.com>2023-12-13 12:47:04 -0600
commit60196f6ab3697c5b6cff6b2c856449d94d56ddee (patch)
tree860d36f676288142484a831185184b9140931096
parent1f7f30aea4bb67bc9de9a6354085b7f0b0849617 (diff)
SL-20611 Followup -- fix for impostors being invisible.
-rw-r--r--indra/newview/pipeline.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index adad22d0a8..3a1edb0d00 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -8235,6 +8235,11 @@ void LLPipeline::doAtmospherics()
{
LL_PROFILE_ZONE_SCOPED_CATEGORY_PIPELINE;
+ if (sImpostorRender)
+ { // do not attempt atmospherics on impostors
+ return;
+ }
+
if (RenderDeferredAtmospheric)
{
{
@@ -8294,6 +8299,10 @@ void LLPipeline::doAtmospherics()
void LLPipeline::doWaterHaze()
{
LL_PROFILE_ZONE_SCOPED_CATEGORY_PIPELINE;
+ if (sImpostorRender)
+ { // do not attempt water haze on impostors
+ return;
+ }
if (RenderDeferredAtmospheric)
{