This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// original wind shader from https://github.com/Maujoe/godot-simple-wind-shader-2d/tree/master/assets/maujoe.simple_wind_shader_2d | |
// original script modified by HungryProton so that the assets are moving differently : https://pastebin.com/VL3AfV8D | |
// | |
// speed - The speed of the wind movement. | |
// minStrength - The minimal strength of the wind movement. | |
// maxStrength - The maximal strength of the wind movement. | |
// strengthScale - Scalefactor for the wind strength. | |
// interval - The time between minimal and maximal strength changes. | |
// detail - The detail (number of waves) of the wind movement. | |
// distortion - The strength of geometry distortion. |