projects
/
The Cutests To-Do List.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ebd1e
)
allow negative values for shader movement
author
Eduardo
<
[email protected]
>
Sun, 1 Oct 2023 00:43:48 +0000
(
02:43
+0200)
committer
Eduardo
<
[email protected]
>
Sun, 1 Oct 2023 00:43:48 +0000
(
02:43
+0200)
themes/default/backgrounds/home_screen_dots.gdshader
patch
|
blob
|
history
diff --git
a/themes/default/backgrounds/home_screen_dots.gdshader
b/themes/default/backgrounds/home_screen_dots.gdshader
index faf2b4a40fc032ce842666604c65ab8efc3588e6..d2df52e9c81cb1e460ad5736bcb0acc03270ca09 100644
(file)
--- a/
themes/default/backgrounds/home_screen_dots.gdshader
+++ b/
themes/default/backgrounds/home_screen_dots.gdshader
@@
-3,7
+3,7
@@
shader_type canvas_item;
uniform vec4 dots_color = vec4(1, 0.86, 0.83, 1);
uniform float radius: hint_range(0.0, 1.0, 0.01) = .07;
uniform float grid_size: hint_range(1.0, 200.0, 1.00) = 7.;
-uniform float speed: hint_range(
0
.0, 2.0, 0.01) = .5;
+uniform float speed: hint_range(
-2
.0, 2.0, 0.01) = .5;
void fragment() {
vec2 uv = (FRAGCOORD.xy - (1.0 / SCREEN_PIXEL_SIZE).xy) / min((1.0 / SCREEN_PIXEL_SIZE).x, (1.0 / SCREEN_PIXEL_SIZE).y);