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 | 6286dad2e98e6737afaad405a5e9d4a009d6218b (patch) | |
tree | c4f711f5ab57d3bc0aa73b0c243df5381a933400 /indra/newview/llfloateravatartextures.h | |
parent | 0604715af6eaaa415cfae5a76e918abeb10e9eff (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/llfloateravatartextures.h')
0 files changed, 0 insertions, 0 deletions