I know alpha blend should work with z ordered items. I tried ordering them, as suggested in this thread, but I still get alpha errors. I also tried the stride pbr pipeline. Interestingly alpha seems to work here too, but my images no not fade out completely.
unfortunately, this cannot work correctly with current 3d hardware, there will always be cases where you will see flips because the ordering depends on the object center. here is some more info:
and:
also, ordering entities doesn’t change anything, they are order-independent and get traversed after the scenegraph is built. but if they have transparency set, they will be ordered by distance to the camera automatically by the render engine. you don’t have to do that yourself. you only need to do that if you are using custom rendering.
another thing is that stride assumes premultiplied colors, so in your shader, multiply the colors with the alpha value like so: