Skip to content

Commit 8ad3b87

Browse files
committed
Fix a render issue with Hightlight Transparent
The smoke texture is currently not applied to transparent objects. This commit tweaks the red alpha overlay as a workaround for that.
1 parent 133dffb commit 8ad3b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/lldrawpoolalpha.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ void LLDrawPoolAlpha::render(S32 pass)
320320
gPipeline.enableLightsFullbright(LLColor4(1,1,1,1));
321321
}
322322

323-
gGL.diffuseColor4f(1,0,0,1);
323+
gGL.diffuseColor4f(0.9,0,0,0.4);
324324

325325
LLViewerFetchedTexture::sSmokeImagep->addTextureStats(1024.f*1024.f);
326326
gGL.getTexUnit(0)->bind(LLViewerFetchedTexture::sSmokeImagep, TRUE) ;

0 commit comments

Comments
 (0)