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
}

}
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

more shaders converted (enviroment)

Reupload of outline shader

screen tile shader

Related shaders

Perspective Warp/Skew Shader

Wobbly Effect – Hand painted animation

Foliage animation

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments