renderer-tutorial/res/shaders/vert.shader

13 lines
196 B
Plaintext
Raw Normal View History

2020-05-17 08:59:15 +00:00
#version 330 core
2020-05-22 14:16:06 +00:00
layout(location = 0) in vec3 position;
layout(location = 1) in vec2 texCoord;
out vec2 v_texCoord;
2020-05-17 08:59:15 +00:00
void main()
{
2020-05-22 21:48:40 +00:00
gl_Position = vec4(position, 1);
2020-05-23 09:16:53 +00:00
v_texCoord = texCoord;
2020-05-17 08:59:15 +00:00
}