13 lines
223 B
Plaintext
13 lines
223 B
Plaintext
|
#version 300 es
|
||
|
precision mediump float;
|
||
|
layout (location = 0) in vec3 aPos;
|
||
|
layout (location = 1) in vec2 aTexCoords;
|
||
|
out vec2 TexCoords;
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = vec4(aPos, 1.0);
|
||
|
TexCoords = aTexCoords;
|
||
|
}
|