OpenGL pixel shader: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
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. |
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] |
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], and [http://www.opengl.org/documentation/glsl/ opengl.org's gl shader language documentation]. |