15 lines
251 B
Plaintext
15 lines
251 B
Plaintext
![]() |
#version 440 core
|
||
|
|
||
|
layout (location = 0) in vec2 position;
|
||
|
layout (location = 1) in vec2 UV;
|
||
|
|
||
|
out vec2 uvCoord;
|
||
|
|
||
|
uniform mat4 view;
|
||
|
uniform mat4 projection;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
uvCoord = UV;
|
||
|
gl_Position = projection * view * vec4(position, 0.0f, 1.0f);
|
||
|
}
|