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 | 5461959d33f2cccfcacfe7887622d68e1c94ad12 (patch) | |
tree | 4d611a4991f3c5f5b0f7549dc06a9b8ec353bafc /indra/llwindow/llkeyboardmacosx.cpp | |
parent | b307d020a8e3039f93796b8203e65905850c7fbf (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/llwindow/llkeyboardmacosx.cpp')
0 files changed, 0 insertions, 0 deletions