Here I color the triangle that we have created in the previous step: "Rendering with Index Buffers". I use GLSL shader language.
After the first step which was OpenGL and FreeGlut initialization, now I render a simple rectangle using an index buffer. Instead of sending 6 vertex coordinates to OpenGL, we just send 4 vertices and 6 indices.
Here is the first step of my project, i begin by initializing OpenGL and Freeglut, after that i show a hello world program "A triangle".
In this article, I tried to collect some interesting books, that helped me to improve my skills in Computer Graphics.