From 3f69740ab905059079e5748da06dc4e6391ee262 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Tue, 27 May 2008 22:20:09 +0000 Subject: [PATCH] Fixed a bug in glow map generation --- panda/src/pgraph/shaderGenerator.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panda/src/pgraph/shaderGenerator.cxx b/panda/src/pgraph/shaderGenerator.cxx index 5b82b53f8b..226fed0b45 100644 --- a/panda/src/pgraph/shaderGenerator.cxx +++ b/panda/src/pgraph/shaderGenerator.cxx @@ -174,6 +174,9 @@ analyze_renderstate(const RenderState *rs) { _calc_primary_alpha = true; _out_primary_glow = true; _subsume_alpha_test = true; + } else { + _calc_primary_alpha = false; + _out_primary_glow = true; } } else { if (_have_alpha_blend || _have_alpha_test) {