Hello Shader Gurus,

I have a question concerning alpha testing and alphablending. The problem is, that when I set a model with an alpha channel in my level I get sorting errors, as expected. When I now use AlphaTestEnable = true; in a fixed function effect the sorting gets corrected, as expected too. Now if I set AlphaBlendEnable = true; nothing happens. The hard edges of the alpha test remain.

In other words: I'd love to have a correctly sorted model (with AlphaTesting or whatever) and at the same time the alphatranspareny look with its soft edges, as if the AlpaDepthTest never happened. Is that possible?


Always learn from history, to be sure you make the same mistakes again...