STG-2600 redraw
This commit is contained in:
parent
d215a8728a
commit
d87ff6531c
34 changed files with 584 additions and 203 deletions
10
shaders/beam_cycle.gdshader
Normal file
10
shaders/beam_cycle.gdshader
Normal file
|
@ -0,0 +1,10 @@
|
|||
shader_type canvas_item;
|
||||
render_mode blend_add;
|
||||
|
||||
uniform float cycle_speed = 1.0;
|
||||
uniform sampler2D gradient;
|
||||
|
||||
void fragment() {
|
||||
COLOR = texture(TEXTURE, UV);
|
||||
COLOR *= texture(gradient, vec2(TIME * cycle_speed, 0.0));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue