   Shader format
  Hi, I have a quick question:I am coming over from C++ and DirectX, and now using G++ with OpenGL.I havn't found a good example of an OpenGL shader that does simple diffuse lighting and basic texture mapping. Could someone link me to one?if no one has any links, I have read a tutorial, and understand the basics. I don't understand though, how to transfer the values from the vertex shader to the fragment shader.any help would be much appreciated!thanks, Nick   
  This is pretty good resource. The GLSL version is not the latest, but should be fine (only difference is a few keyword names and variable names).GLSL Tutorial;  Sweet..reading it now. So far, it seems better written than the last one I read. Thanks =)   