Created
March 27, 2014 21:11
-
-
Save ssvb/9818950 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const char *vertex_shader_source = | |
"uniform mat4 modelviewprojectionMatrix;\n" | |
"\n" | |
"attribute vec4 in_position; \n" | |
"attribute vec2 in_coord; \n" | |
" \n" | |
"varying vec2 coord; \n" | |
" \n" | |
"void main() \n" | |
"{ \n" | |
" gl_Position = modelviewprojectionMatrix * in_position;\n" | |
" coord = in_coord; \n" | |
"} \n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment