Home Forums Programming Multiple shaders on single objects Reply To: Multiple shaders on single objects


That is a good idea, having specific functions for different shaders.

But the main thought was, that I want to have a dynamic manager.
So if I add a new shader, I dont have to add another function to my lib.
Dont know if that is possible, unless I add the function in the game logic,
instead of the lib. :?

In the meantime, I will take your advice, and make specific functions :)