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.
13 lines
213 B
13 lines
213 B
3 years ago
|
#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;
|
||
|
}
|