Original Post
Hi All, I have searched the forums and have found various responses over the years of posting which asked a similar question however I would like to know an answere to today's standards. Is sorting front to back for opaque objects still worth it? I have read in some posts that you do not even need to do that anymore and the new recommendation is to do a z pass with color writing off before rendering the out of ordered objects. This of course only applies to opaque objects. Also, with shader engines from what i've gathered the best solution is to sort by Effect and then by Texture to minimize state changes. How would this work when sorting objects front to back. It seems to me after sorting front to back or back to front and then by anything else would cause the original sort to be out of order. That is of course unless you have multiple objects at the same depth which I would guess would be rare. Any info regarding this would be greatly appreciated. Thanks in advanced.