vox/assets/shaders/particles/textured_particle.vert

12 lines
197 B
GLSL
Raw Permalink Normal View History

2022-04-02 15:34:24 -05:00
#version 140
in vec2 position;
in vec2 tex_coords;
out vec2 v_tex_coords;
uniform mat4 matrix;
void main() {
v_tex_coords = tex_coords;
gl_Position = matrix * vec4(position, 0.0, 1.0);
}