Skip to content

Instantly share code, notes, and snippets.

@EddyLuten
Created April 21, 2014 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EddyLuten/11133728 to your computer and use it in GitHub Desktop.
Save EddyLuten/11133728 to your computer and use it in GitHub Desktop.
Chapter 2, Snippet 3 - OpenGLBook.com
const GLchar* FragmentShader =
{
"#version 400\n"\
"in vec4 ex_Color;\n"\
"out vec4 out_Color;\n"\
"void main(void)\n"\
"{\n"\
" out_Color = ex_Color;\n"\
"}\n"
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment