ToyEngine/Demo/Engine/Shaders/final.vert

11 lines
200 B
GLSL
Raw Normal View History

2023-04-16 17:12:29 +08:00
#version 450 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aTexCoords;
out vec2 TexCoords;
void main()
{
TexCoords = aTexCoords;
gl_Position = vec4(aPos, 1.0);
}