OpenGL Test
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.
 
 

12 lines
213 B

#version 130
in vec4 postex; // <vec2 position, vec2 texture>
out vec2 textCoord;
uniform mat4 projection;
void main()
{
gl_Position = projection * vec4(postex.xy, 0.0f, 1.0f);
textCoord = postex.zw;
}