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.
10 lines
199 B
10 lines
199 B
13 years ago
|
in vec4 inPosition;
|
||
|
in vec2 inTexCoord;
|
||
|
|
||
|
out vec2 texCoord;
|
||
|
|
||
|
void main() {
|
||
11 years ago
|
vec2 pos = inPosition.xy * 2.0 - 1.0;
|
||
13 years ago
|
gl_Position = vec4(pos, 0.0, 1.0);
|
||
|
texCoord = inTexCoord;
|
||
|
}
|