rest-in-dust/assets/shaders/canvas_vertex.glsl

17 lines
220 B
Plaintext
Raw Normal View History

2023-11-14 00:14:08 +00:00
#version 130
in vec3 pos;
in vec4 color;
in vec2 tex_coord;
out vec4 _color;
out vec2 _tex_coord;
uniform mat4 proj;
void main() {
gl_Position = proj * vec4(pos, 1.0);
_color = color;
_tex_coord = tex_coord;
}