armory/Shaders/grease_pencil/grease_pencil.vert.glsl
2016-10-17 00:02:51 +02:00

18 lines
190 B
GLSL

#version 450
#ifdef GL_ES
precision highp float;
#endif
in vec3 pos;
in vec4 col;
out vec4 color;
uniform mat4 VP;
void main() {
color = col;
gl_Position = VP * vec4(pos.xyz, 1.0);
}