wobly 2D – Sokpop based

a 2D variation of the 3D wobly effect from sokpop – GODOT 4.x Ready

based on the https://godotshaders.com/author/afk/ adaption of the effect.

go give him the likes -> https://godotshaders.com/shader/joepli-wobble/

Shader code
shader_type canvas_item;

uniform float normal_offset : hint_range(0, 2, .1) = 1.5;
uniform float time_influence : hint_range(0, 50) = 3;
uniform float y_div : hint_range(0, 10, .1) = 2.87;

void vertex() {
	VERTEX.x += sin(VERTEX.y * y_div + round(TIME * time_influence)) * normal_offset;
	VERTEX.y += sin(VERTEX.x * y_div + round(TIME * time_influence)) * normal_offset;
}
Tags
2d, sokpop, vertex, wobly
The shader code and all code snippets in this post are under CC0 license and can be used freely without the author's permission. Images and videos, and assets depicted in those, do not fall under this license. For more info, see our License terms.

Related shaders

Sokpop Skybox

Noise-based CRT

Texture based overlay (animated)

Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments