summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-08-03 06:52:56 -0700
committerGraham Linden <graham@lindenlab.com>2013-08-03 06:52:56 -0700
commit14c7108ca3f646a8f7fd0d024ca200919bbf79bf (patch)
tree621d73154f01179a026f5171454ee7f4b374aeca /indra/newview/llvovolume.cpp
parent2d065562f1dabd090a12b75f1aa4233ce9d7ce33 (diff)
NORSPEC-304 NORSPEC-334 NORSPEC-336 fix black glow overdraw without breaking glow
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rwxr-xr-xindra/newview/llvovolume.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 406591046f..3eb5b19de5 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -4881,7 +4881,10 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
if (emissive)
{ //emissive faces are present, include emissive byte to preserve batching
simple_mask = simple_mask | LLVertexBuffer::MAP_EMISSIVE;
- alpha_mask = alpha_mask | LLVertexBuffer::MAP_EMISSIVE;
+
+ // doing this seems to cause NORSPEC-304
+ //alpha_mask = alpha_mask | LLVertexBuffer::MAP_EMISSIVE;
+
bump_mask = bump_mask | LLVertexBuffer::MAP_EMISSIVE;
fullbright_mask = fullbright_mask | LLVertexBuffer::MAP_EMISSIVE;
norm_mask = norm_mask | LLVertexBuffer::MAP_EMISSIVE;