mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
alpha test > 0 for M_dual
This commit is contained in:
parent
b0b9a11c65
commit
bb1bea4719
@ -224,7 +224,7 @@ CPT(RenderState) CullResult::
|
||||
get_dual_transparent_state() {
|
||||
static CPT(RenderState) state = NULL;
|
||||
if (state == (const RenderState *)NULL) {
|
||||
state = RenderState::make(AlphaTestAttrib::make(AlphaTestAttrib::M_less, 1.0f),
|
||||
state = RenderState::make(AlphaTestAttrib::make(AlphaTestAttrib::M_greater, 0.0f),
|
||||
TransparencyAttrib::make(TransparencyAttrib::M_alpha),
|
||||
RenderState::get_max_priority());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user