Glitch Transition

A glitch transition shader.

Set animation key to fade by AnimationPlayer to do fade in/out, or Use script like this:

var time:float = 0.0

func _process( delta:float ):
	var shader:ShaderMaterial = # here is some MeshInstance's material

	time += delta
	shader.set_shader_param( "fade", clamp( time, 0.0, 1.0 ) )
Shader code
Tags
glitch, transition
The shader code and all code snippets in this post are under MIT 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 arlez80

Outline Silhouette Shader

Procedural Electric Current Shader

Procedural Marble Shader

Related shaders

Glitch Effect Shader

Pixelated Glitch PostEffect

2D Sprite “Cartridge Tilting Glitch”

guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
anonymous
anonymous
2 months ago

there is no shader code