You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
176 B
9 lines
176 B
varying vec4 color;
|
|
|
|
void main( void ) {
|
|
gl_Position = gl_Vertex;
|
|
gl_Position.xy /= vec2(800, 600)*0.5;
|
|
gl_Position.xy -= 1.0;
|
|
gl_Position.y *= -1.0;
|
|
color = gl_Vertex;
|
|
}
|
|
|