From Ohm

Open GL Vertex and Fragment Shaders

Recap: Vertex and fragment shaders are a programmable replacement for steps 2 and 6 of the fixed function pipeline.

Shaders have input registers and output registers (excerpt):

Vertex shader:

Fragment shader:

Retrieved from http://schorsch.efi.fh-nuernberg.de/roettger/index.php/MedicalVisualization/OpenGLVertexAndFragmentShaders

Page last modified on November 18, 2020, at 08:00 PM