OpenGL pixel shader: Difference between revisions

no edit summary
(oops, forgot the most important part...)
No edit summary
Line 6:
 
Optional: after updating the opengl rendering target but before rendering the triangle, query the opengl implementation to determine which versions of shaders are supported by the rendering target, list the tested shaders and the available shaders and then use a supported shader.
 
See also: [http://www.gamedev.net/page/resources/_/technical/graphics-programming-and-theory/introduction-to-shader-programming-part-iii-fun-r1820 gamedev's introduction to pixel shaders]
6,951

edits