Original Post
Hello, I know of quite a lot resources on state sorting in the renderer, but I need to optimize state changes directly in the scene graph, so not at rendering time. I thought of collecting the material, textures, etc. for each renderable entity and rebuilding the scene graph with that information. I don't know if that is possible, since especially transformations included in the scene graph would be hard to handle. I would appreciate any resources, ideas, hints, fallbacks on that topic. Thanks. Ciao, Thorris.