Bit of a weird problem that I feel I should know the answer to.
I have a number of models that have transparent areas (e.g torn cloth, hair). I'm rendering them all with the same shader in XNA. Some of them appear correctly, others don't: the transparent areas 'overwrite' the pixels beneath them (like when you don't sort the depths of models with transparency). But given that it is within the same model (all uses a single texture), I'm not sure how to solve it. Why do some models render correctly and others don't?
I'm guessing it's just an accident that those polys happen to be rendered in a bad order.
Thoughts and solutions?
Thanks a lot.