[RELEASE] u22-v04
This version is submitted for U22 final presentation. (squashed 158 commits)
This commit is contained in:
17
core/loshader/particle.vshader
Normal file
17
core/loshader/particle.vshader
Normal file
@@ -0,0 +1,17 @@
|
||||
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.);
|
||||
}
|
Reference in New Issue
Block a user