mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Fixed a bug in glow map generation
This commit is contained in:
parent
81f8bfb1a8
commit
3f69740ab9
@ -174,6 +174,9 @@ analyze_renderstate(const RenderState *rs) {
|
|||||||
_calc_primary_alpha = true;
|
_calc_primary_alpha = true;
|
||||||
_out_primary_glow = true;
|
_out_primary_glow = true;
|
||||||
_subsume_alpha_test = true;
|
_subsume_alpha_test = true;
|
||||||
|
} else {
|
||||||
|
_calc_primary_alpha = false;
|
||||||
|
_out_primary_glow = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (_have_alpha_blend || _have_alpha_test) {
|
if (_have_alpha_blend || _have_alpha_test) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user