OpenGL lets you define “shaders,” or small programs that run in parallel on the GPU to let you control the behavior at different steps of this pipeline. Triangle processing can be modified with a vertex shader, and optionally a geometry shader, and fragment processing can be modified with a fragment shader.
tobychen912
In a real world application, a number of factors(components) contribute to the pipeline - mesh type, material, and render algorithm. This programming model becomes less clear as more and more components intersect.
OpenGL lets you define “shaders,” or small programs that run in parallel on the GPU to let you control the behavior at different steps of this pipeline. Triangle processing can be modified with a vertex shader, and optionally a geometry shader, and fragment processing can be modified with a fragment shader.
In a real world application, a number of factors(components) contribute to the pipeline - mesh type, material, and render algorithm. This programming model becomes less clear as more and more components intersect.