InitCommit

update 1.4.2 source code
This commit is contained in:
kaia
2024-02-03 18:36:09 -06:00
commit ece4ffd123
216 changed files with 79783 additions and 0 deletions

11
shader/wobble.gdshader Normal file
View File

@@ -0,0 +1,11 @@
shader_type canvas_item;
uniform sampler2D noise_texture:repeat_enable;
uniform float distortion_strengh: hint_range(0, 0.1) = 1.0;
uniform float speed: hint_range(0.1, 10) = 1.0;
void fragment() {
vec4 noise_pixel = texture(noise_texture, UV + floor(TIME*speed)/3.0);
vec2 uv_offset = (noise_pixel.rg * 2.0 - 1.0) * distortion_strengh;
COLOR = texture(TEXTURE, UV + uv_offset);
}