graphics/05-opengl/assets/shaders/shader.vert

12 lines
209 B
GLSL
Raw Normal View History

2023-11-30 23:36:23 +00:00
#version 330 core
layout (location = 0) in vec3 pos;
layout (location = 1) in vec2 texture_coord;
out vec2 tex_coord;
void main() {
gl_Position = vec4(pos.xyz, 1.0);
tex_coord = texture_coord;
}