From 8ad3b87c0e4134fb79c3fd5d7bccc03bf27f4282 Mon Sep 17 00:00:00 2001 From: Salvatore La Bua Date: Tue, 1 Oct 2013 03:33:49 +0200 Subject: [PATCH] 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. --- indra/newview/lldrawpoolalpha.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp index acbbc419b..fe18b2aaf 100644 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -320,7 +320,7 @@ void LLDrawPoolAlpha::render(S32 pass) gPipeline.enableLightsFullbright(LLColor4(1,1,1,1)); } - gGL.diffuseColor4f(1,0,0,1); + gGL.diffuseColor4f(0.9,0,0,0.4); LLViewerFetchedTexture::sSmokeImagep->addTextureStats(1024.f*1024.f); gGL.getTexUnit(0)->bind(LLViewerFetchedTexture::sSmokeImagep, TRUE) ;