Skip to content

Commit 60196f6

Browse files
committed
SL-20611 Followup -- fix for impostors being invisible.
1 parent 1f7f30a commit 60196f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

indra/newview/pipeline.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8235,6 +8235,11 @@ void LLPipeline::doAtmospherics()
82358235
{
82368236
LL_PROFILE_ZONE_SCOPED_CATEGORY_PIPELINE;
82378237

8238+
if (sImpostorRender)
8239+
{ // do not attempt atmospherics on impostors
8240+
return;
8241+
}
8242+
82388243
if (RenderDeferredAtmospheric)
82398244
{
82408245
{
@@ -8294,6 +8299,10 @@ void LLPipeline::doAtmospherics()
82948299
void LLPipeline::doWaterHaze()
82958300
{
82968301
LL_PROFILE_ZONE_SCOPED_CATEGORY_PIPELINE;
8302+
if (sImpostorRender)
8303+
{ // do not attempt water haze on impostors
8304+
return;
8305+
}
82978306

82988307
if (RenderDeferredAtmospheric)
82998308
{

0 commit comments

Comments
 (0)