Hello and Merry Christmas!
I have two triangles in my OpenGL program. I want to apply different effects to these triangles using different shaders.
How can I do that? How can I implement different shaders for these triangles? What is the logic for it? Is there a special function or something like that for it?
I’ll be glad if you post an example or something like that… I googled it but I couldn’t find anything.
Thanks in advance.