wonky polygon ui rework
This commit is contained in:
parent
6bdc9617b2
commit
6c55d719ff
22 changed files with 165 additions and 117 deletions
10
src/shaders/vertex_fun.gdshaderinc
Normal file
10
src/shaders/vertex_fun.gdshaderinc
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "res://src/shaders/noise3D.gdshaderinc"
|
||||
|
||||
vec2 wobble(vec2 p, float f, float a) {
|
||||
float t = TIME * f;
|
||||
vec2 offset = vec2(
|
||||
snoise(vec3(p / 64.0, t)),
|
||||
snoise(vec3(p / 64.0, -t))
|
||||
);
|
||||
return a * offset;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue