mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
binary is > 0.5, not == 1
This commit is contained in:
parent
4745adfa30
commit
8f881bfd50
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user