scg3
0.6
color_vert.glsl
Go to the documentation of this file.
1
/**
2
* \file color_vert.glsl
3
* \brief Simple color vertex shader.
4
*/
5
6
#version 150
7
8
in vec4 vVertex;
9
in vec4 vColor;
10
11
uniform mat4 mvpMatrix;
12
13
smooth out vec4 color;
14
15
16
void main() {
17
gl_Position = mvpMatrix * vVertex;
18
color = vColor;
19
}
shaders
color_vert.glsl
Generated on Wed Apr 10 2019 12:43:57 for scg3 by
1.8.15