Files
armorpaint/Shaders/layer_view.vert.glsl
T

13 lines
215 B
GLSL
Raw Normal View History

2019-11-11 17:14:51 +01:00
#version 330
2019-11-11 22:22:41 +01:00
in vec3 pos;
in vec2 tex;
in vec4 col;
uniform mat4 projectionMatrix;
out vec2 texCoord;
out vec4 color;
2019-11-11 17:14:51 +01:00
void main() {
2019-11-11 22:22:41 +01:00
gl_Position = projectionMatrix * vec4(pos, 1.0);
texCoord = tex;
color = col;
2019-11-11 17:14:51 +01:00
}