Skip to content

marcosbitetti/dynamic_distortion_shader_effect

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dynamic_distortion_shader_effect

A dynamic shader to use from Godot Engine projects

Usage

Put the /effect01 on your project, and append to distortion.scn to you 2D or 3D nodes.

Commands:

add( sprite,time_out,fade_time,[x=0],[y=0])

Add a sprite to life for time_out and after it, fade to die in fade_time. All in secconds. x,y cordinates are optional. Using float values (-1.0 ~1.0) result in a proportional posiotion. Using integers is absolute position

remove(sprite)

Remove a sprite, without call queue_free()

add_effect(name)

Add an effect from list: . "rain" - rain effect

remove_effect(name)

Remove an effect from previus list.

Effect in action

The effect can be view at Youtube

Legal

Creative Commons License
Wild Witch Project by Marcos Augusto Bitetti is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at http://www.wildwitchproject.com/.
Permissions beyond the scope of this license may be available at http://www.wildwitchproject.com/p/direitos-da-obra.html.

About

A dynamic shader to use from Godot Engine projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published