Original Post
It might be a good idea to minimize render state changes, but there are a few dilemma I would like to discuss. If certain objects share the same render states, one may want to group them. But then, when you apply the state change, you don't really change all the posible states. You would most likely assume certain states are at their default values and set the ones necessary. In that case, to make sure other sets of objects are given the same "fairness", would you change the states that you want and then put it back the way it was after you render? This would require addition steps such as saving the previous state and change of states twice. Does anyone have suggestions? Thanks.