mirror of https://github.com/sotrh/learn-wgpu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
227 B
GLSL
11 lines
227 B
GLSL
5 years ago
|
#version 450
|
||
|
|
||
|
layout(location=0) in vec3 a_position;
|
||
|
layout(location=1) in vec2 a_tex_coords;
|
||
|
|
||
|
layout(location=0) out vec2 v_tex_coords;
|
||
|
|
||
|
void main() {
|
||
|
v_tex_coords = a_tex_coords;
|
||
|
gl_Position = vec4(a_position, 1.0);
|
||
|
}
|