Can anyone please post complete program to draw a triangle with vertex shader and fragment shader?
There are dozens of tutorials for such things. We don’t need to repeat them here.
For a tutorial that focuses on modern OpenGL, check out:
View this on the web or buy the book. Your question is addressed under:
Here’s another:
and again your question is answered under:
1 Like
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.