Posted on Oct 30, 2018
OpenGL Shaders from Dzung Nguyen on Vimeo.
A very fun mid-course project in my introductory computer graphics course. In order to become familiar with how data is passed between the CPU and GPU with OpenGL and the OpenGL graphics pipeline, I wrote a few vertex and fragment shaders to modify the look of 3D models. Vertex shaders allow for manipulation of vertex attributes such as position, normals, etc. On the other hand, fragment shaders determines the look of the vertices. For instance, a vertex shader that makes the image look like it's morphing would be due to vertex shaders. If the colors changes over time, we would look to fragment shader to see what formula was applied to the vertices.