Original Post
My current material system allows for only one texture and one shader per material, and an object usually only has 1 material (or for an entity with specific triangle groups, 1 material per group), and I've recently realised (quite obviously to some of you, I would imagine) that I'll be needing more than a single shader for an object. How would I go about this? Please note that I'm talking more about the method of combining the shaders so they are rendered correctly and not the data structures required. Is there anything you guys can tell me? Or is there a good reference site for something like this?