3 Apr 2015 by Svetlozar Iliev
Hello. In my OpenGL program i have multiple shaders for multiple types of models,terrains or lamps. As up until now i had 1 shader class which was able to handle all of type of shaders. But i had to find the variable ID of each variable every time i wanted to load up something in it. Then i saw...