OpenGL pixel shader: Difference between revisions

m
no edit summary
(Created page with "{{draft task|OpenGL}} Using the triangle geometry from OpenGL. But instead of using a mechanism such as glColor3d, use a pixel shader for each pixel in the triangle. Optio...")
 
mNo edit summary
Line 1:
{{draft task|OpenGL}}
 
Using the triangle geometry from [[OpenGL]]. But instead of using a mechanism such as glColor3d, use a [[wp:Pixel Shader|pixel shader]] for each pixel in the triangle.
 
Optional: provide an update mechanism, to repeatedly re-render the triangle. (Possibilities include a mouse event handler, a timer event handler or an infinite loop.)
6,962

edits