When you need is for the "transparent" pixels to not be written to the depth buffer. For that, you'll want to use alpha testing, not alpha blending (unfortunately that means that the transparency is an on/off thing, so you'll get hard edges). The AlphaTestEffect is what you want - or if you're writing your own shader, then use the clip instrinsic to discard pixels below your chosen transparency threshold.
phil_tMember Since 06 Oct 2006
Offline Last Active Today, 08:18 PM
- Group Crossbones+
- Active Posts 656
- Profile Views 6,409
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
- Website URL http://icefallgames.com
phil_t hasn't added any contacts yet.