Undertale Animation Skew

ut animation based skew shader for ut fangames (heavy wip)

 

to call it in code you first want to call a specific variable

var legs = $legs.material.get_shader_param(“TopPosition”)

var shader = sin(timer * frequency) * amplitude

 

then you want to use a basic sin timer system to move it in an animation syste

Shader code
shader_type canvas_item;

uniform vec2 TopPosition;

void vertex(){
	
	if( UV.x >= 0.0 && UV.y <= 0.0) {
		VERTEX+=TopPosition
}

}
Live Preview
Tags
#undertalefangames
The shader code and all code snippets in this post are under GNU GPL v.3 license and can be used freely. Images and videos, and assets depicted in those, do not fall under this license. For more info, see our License terms.

More from snesmocha

Related shaders

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments