-
Light shader and texture (in display lists...)
Hello,
I had an old code like this :
glColor(c);
glCallList(l);
I replaced it with :
LoadShader();
SendColor with glUniform
glCallList(l);
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules