This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/core/loshader/particle.vshader
falsycat 80b3b82332 [RELEASE] u22-v04
This version is submitted for U22 final presentation. (squashed 158 commits)
2021-02-07 00:00:00 +00:00

18 lines
367 B
GLSL

layout (location = 0) in float i_particle_id;
layout (location = 1) in vec2 i_pos;
layout (location = 2) in vec2 i_size;
layout (location = 3) in vec4 i_color;
layout (location = 4) in float i_time;
out vec2 v_uv;
out vec4 v_color;
out float v_time;
void main(void) {
v_uv = vec2(0.);
v_color = i_color;
v_time = i_time;
gl_Position = vec4(0.);
}