Saxum/data/shader/flame.vsh

14 lines
203 B
GLSL

#version 150
uniform mat4 viewProjectionMatrix;
in vec3 aPosition;
in vec3 aColor;
out vec3 Color;
void main () {
Color = aColor;
gl_Position = viewProjectionMatrix * vec4(aPosition, 1.0);
}