LaserWeapon reworked to hitscan
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform float speed = 0.0;
|
||||
|
||||
void fragment() {
|
||||
vec2 uv = UV;
|
||||
uv.x -= TIME * speed;
|
||||
COLOR = texture(TEXTURE, uv);
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://bndty4otyxb5t
|
||||
Reference in New Issue
Block a user