summaryrefslogtreecommitdiff
path: root/examples/OpenGLWindow/Shaders/linesVS.h
blob: 8fc6eb3e73c7b539d886f3634ff52e2511e05fd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//this file is autogenerated using stringify.bat (premake --stringify) in the build folder of this project
static const char* linesVertexShader= \
"#version 150   \n"
"uniform mat4 ModelViewMatrix;\n"
"uniform mat4 ProjectionMatrix;\n"
"uniform vec4 colour;\n"
"in vec4 position;\n"
"out vec4 colourV;\n"
"void main (void)\n"
"{\n"
"    colourV = colour;\n"
"		gl_Position = ProjectionMatrix * ModelViewMatrix * position;\n"
"		\n"
"}\n"
;