1
0
rwu_particles_informatikpro.../shaders/opengl/VertexShader.glsl

12 lines
191 B
Plaintext
Raw Permalink Normal View History

#version 460
2020-02-11 18:01:50 +00:00
layout(location = 0) in vec3 pos;
layout(location = 1) in vec3 colIn;
layout(location = 0) out vec3 colV;
2020-02-11 18:01:50 +00:00
2020-03-08 20:03:48 +00:00
void main(void)
2020-02-11 18:01:50 +00:00
{
colV = colIn;
2020-03-13 16:11:07 +00:00
gl_Position = vec4(pos, 1);
2020-04-01 20:17:35 +00:00
}