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

Reupload of outline shader

background shader

FireShader

Related shaders

Perspective Warp/Skew Shader

Foliage animation

Wobbly Effect – Hand painted animation

guest

0 Comments
Inline Feedbacks
View all comments