Original Post
I read in one place that you must render back to front: a) opaque objects b) transparent objects c) volume objects I then read that you want to render everything that uses the same material in a batch to reduce switching states and effect variables. Well, you can't do both. What really is a proper render order? How is my rendering mechanism even going to know what is farther back? Back to front depends on the camera and the world orientation, doesn't it?Surely, I do now want to resort a huge list of objects every time the camera moves (every frame?) do you? Further more, there are situations where I couldn't even tell you what "is farthest back." Suppose you have one semi transparent object shaped like a donut and another semi transparent object traveling through its center. Which, is farther back? Which do you render first?