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…
Reference in New Issue