Light shader and texture (in display lists...)
I had an old code like this :
I replaced it with :
SendColor with glUniform
But in some display lists there are textures. And in these cases my shader does not render the texture...
I have seen today that in classical code the textures are sent to the shader.
I can not change the display lists code (lot of old existing code...).
1- What can I do to obtain the correct rendering (I am a beginner...) ?
2- Is there a solution with minor change in the display lists ?
Thanks for your advices.