At this point, I needed to do something to each of these faces. I had never written a shader before, but my instructor was immensely helpful in getting me through the process. There are two parts:
A vertex shader that applies data to every vertex in an object.
A fragment shader that takes depth and color data and outputs this data applied to a fragment for the next stage of the graphics pipeline.
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .