learn-wgpu/code/showcase/pong/res/shaders/textured.vert
2021-03-03 01:14:52 -07:00

11 lines
223 B
GLSL

#version 450
layout(location=0) in vec2 aPosition;
// layout(location=1) in vec2 aTexCoord;
// layout(location=0) out vec2 vTexCoord;
void main() {
gl_Position = vec4(aPosition, 0, 1);
// vTexCoord = aTexCoord;
}