From 8f881bfd501b8c7963f0b97974e1005a707616a1 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 14 May 2002 23:56:56 +0000 Subject: [PATCH] binary is > 0.5, not == 1 --- panda/src/pgraph/cullResult.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgraph/cullResult.cxx b/panda/src/pgraph/cullResult.cxx index bd0b7b7511..3f84cc0b06 100644 --- a/panda/src/pgraph/cullResult.cxx +++ b/panda/src/pgraph/cullResult.cxx @@ -191,7 +191,7 @@ CPT(RenderState) CullResult:: get_binary_state() { static CPT(RenderState) state = NULL; if (state == (const RenderState *)NULL) { - state = RenderState::make(AlphaTestAttrib::make(AlphaTestAttrib::M_equal, 1.0f), + state = RenderState::make(AlphaTestAttrib::make(AlphaTestAttrib::M_greater_equal, 0.5f), TransparencyAttrib::make(TransparencyAttrib::M_none), RenderState::get_max_priority()); }