Skip to main content
GameDev.net gamedev.net
🔒 Locked

pixel/vertex shader

Started by giugio Jun 30, 2008 at 7:25 AM 1 replies 450+ views
Original Post
giugio
giugio
Hy. I search in google a good article that explain the vertex and the pixel shaders(i read that pixel shaders in opengl is not supported) , but i'm slightly confused. Can you help me? THanks
nullsquared
nullsquared
Quote:
Original post by giugio
Hy.
I search in google a good article that explain the vertex and the pixel shaders(i read that pixel shaders in opengl is not supported) , but i'm slightly confused.
Can you help me?
THanks


[google] -> "shader" = awesome wikipedia articles

Also, OpenGL can do anything and everything Direct3D can do (and vice-versa applies) (well, maybe except quads [lol]), including pixel shaders (if your GPU supports them, of course).
V-man
V-man
Maybe you read that some particular graphics card doesn't support pixel shaders. Vertex and pixels shaders have been available in GL since June 18, 2002 in the form of GL_ARB_vertex_program and GL_ARB_fragment_program and even before that, 2000, nVidia had their register combiners and ATI had their combiners.

In GL, they aren't called pixel shaders but instead fragment shaders. A pixel is what your monitor has. A fragment is a piece that is processed by the fragment pipe. It has associated color, depth, stencil and other info.

Since GL 2.0, GLSL became a core feature.
You might want to buy the Orange book which explains this stuff.

Some stuff here
http://www.opengl.org/wiki/index.php/Shading_languages:_GLSL


http://www.lighthouse3d.com/opengl/

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.