I am lerning opengl programming from http: //learnopengl.com .And i can load any model which i want.But if i want to load two models with different shaders,a problem occurs. For example: First i draw two models with same shader and there is no problem.
Then if i do this:
The first model is not drown.Only the second model is drown. Here is my Model.h code and Mesh.h code:
And if you want, these are my vertex and fragment shaders:
Shaders: http: //pastebin.com/d0v3Y4vU
Thank you for help!