gameoflife/shader.vs

17 lines
229 B
Plaintext
Raw Permalink Normal View History

2023-05-29 23:17:14 +02:00
#version 330 core
in vec2 positions;
2023-05-31 23:01:19 +02:00
in vec3 color;
in vec2 texCoords;
out vec3 Color;
out vec2 TexCoords;
2023-05-29 23:17:14 +02:00
void main(){
2023-05-31 23:01:19 +02:00
Color = color;
TexCoords = texCoords;
2023-05-29 23:17:14 +02:00
gl_Position = vec4(positions, 0.0, 1.0);
}
2023-05-31 23:01:19 +02:00
// vim: set ft=glsl: