OK I know this might seem like a really dumb question (what with all the talk of this new technology) but I still couldn’t (for the life of me) figure out what the hell Pixel and Vertex shaders are!
I’ve checked nVidia’s website to try and find info on them but all I managed to find was a presentation on them.That presentation didn’t tell me much.The only thing I found out that I have to use assembly to program these things.
So my question to you is:
(1) What is a Vertex Shader and what is it used for?
(2) What is a Pixel Shader and what is it used for?
(3) Where in an OpenGL program do you actually code pixel/vertex shaders? (Or is the code in a totally separate file)
(4) Any one know of any REALLY brain dead simple source code I could take a look at? I’m looking for something like just drawing a cude and texturing it using Pixel or Vertex shaders.Something simple like that.
Any other links you guys can think of with tutorials or sample source code would be nice.I wanna see how pixel/vertex shaders are actually implemented (programatically speaking) It’s too bad nVidia doesn’t have a white paper on this kind of stuff in OpenGL (or if there is,I couldn’t find it)
Thanx for any help guys.The more info I get on these things,the sooner I can start to play around with them.