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.
This commit is contained in:
Salvatore La Bua
2013-10-01 03:33:49 +02:00
parent 214ed0403d
commit aa54d82c5a

View File

@@ -335,7 +335,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) ;