diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-08 12:28:33 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-08 12:28:33 +0000 |
commit | 9beeb33f091083d10be3169930b9c205efc2821b (patch) | |
tree | ebe3af5832ddb8f39ba30afd10920455ad317757 /indra/newview/lldrawpoolalpha.h | |
parent | 80ab668f4494601b6968748e227208f5b95a63bf (diff) |
fixes VWR-4214 Glow effect passes through alpha textures where alpha is actually "solid"
and its many many dupes.
In summary this does the following:
* When laying down alpha, uses the new separated color-and-alpha blend func support to suppress existing glow in proportion to the opacity of the incoming fragments
* Moves glowing-alpha support from the glow pool to the alpha pool, ensures that the glow pass for a vertex buffer happens after the alpha pass for the vertex buffer so that it doesn't suppress its *own* glow.
Tested with all shader modes, FBO on/off, and deferred rendering. Tested with every permutation of alpha/non-alpha/glow/non-glow/fullbright/waterglow/particle interaction I could contrive so far. :)
Diffstat (limited to 'indra/newview/lldrawpoolalpha.h')
0 files changed, 0 insertions, 0 deletions