Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
A simlpe shader that gives objects like grass or plants a wiggle/wind effect.Godot version 2.1 (3.0 planned)Demo Controls:Mouse + WASD or up/down/left/right key to move the camera. F1 to show/hide the frames/second.If you don't need the demo install only the shader folder or its content and follow the instructions:How to use the shader in your project:1. Copy the shader folder or at least its content somewhere into your project folder (See license details).2. Then open/select a mesh in godot and give the object a new ShaderMaterial if it haven't one. (Make sure that the mesh origion is on the right position see below: Shader parameters -> Height Offset ).3. Now go into the material settings and load one of the shaders that you have copied to your project folder.- "wind_shader.tres" is a version that is written in godots shading language. -"wind_shader_graph" is a version for the visual shader editor.4. Now you can add a texture to it and play with the shader parameters to get a nice result.Shader paramenters- Speed: The speed of the wind movement.- Strength: The strength of the wind movement.- Detail: The detail (number of waves) of the wind movement.- Direction: The direction of wind movement.- Height Offset: The height where the wind begins to move. By default 0.0, so everything over the object origin will have wind. (So make sure that you position the object on the right height or adapt it with this setting!)Issues/feature requests?:https://github.com/Maujoe/godot-simple-wind-shader/issuesChangelog:v1.0.1: - custom project icon
Simple Wind Shader
A simlpe shader for the godot engine version 2.1 (3.0 planned) that gives objects like grass or plants a wiggle/wind effect.
Demo
There is a demo scene "demo.tscn" where you can test the shader and play with the shader parameters. If you don't need the demo install only the shader folder or its content (follow the instructions below).
Video: https://www.youtube.com/watch?v=3MrdB-qcXAg
Controls
Mouse + WASD or up/down/left/right key to move the camera. F1 to show/hide the frames/second.
How to use the shader
- Copy the shader folder or at least its content somewhere into your project folder (See license details).
- Then open/select a mesh in godot and give the object a new ShaderMaterial if it haven't one. (Make sure that the mesh origion is on the right position see below: Shader parameters -> Height Offset ).
- Now go into the material settings and load one of the shaders that you have copied to your project folder.
- Now you can add a texture to it and play with the shader parameters to get a nice result.
The shader files
There are two shader files but they produce the same result:
"wind_shader.tres" is a shader that is written in godots shading language. "wind_shader_graph" is a shader for the visual shader editor.
Shader paramenters
- Speed: The speed of the wind movement.
- Strength: The strength of the wind movement.
- Detail: The detail (number of waves) of the wind movement.
- Direction: The direction of wind movement.
- Height Offset: The height where the wind begins to move. By default 0.0, so everything over the object origin will have wind. (So make sure that you position the object on the right height or adapt it with this setting!)
License
All parts of this project that are not copyrighted or licensed by someone else are released under the MIT License - see the LICENSE.md file for details.
A simlpe shader that gives objects like grass or plants a wiggle/wind effect.
Godot version 2.1 (3.0 planned)
Demo Controls:
Mouse + WASD or up/down/left/right key to move the camera. F1 to show/hide the frames/second.
If you don't need the demo install only the shader folder or its content and follow the instructions:
How to use the shader in your project:
1. Copy the shader folder or at least its content somewhere into your project folder (See license details).
2. Then open/select a mesh in godot and give the object a new ShaderMaterial if it haven't one. (Make sure that the mesh origion is on the right position see below: Shader parameters -> Height Offset ).
3. Now go into the material settings and load one of the shaders that you have copied to your project folder.
- "wind_shader.tres" is a version that is written in godots shading language.
-"wind_shader_graph" is a version for the visual shader editor.
4. Now you can add a texture to it and play with the shader parameters to get a nice result.
Shader paramenters
- Speed: The speed of the wind movement.
- Strength: The strength of the wind movement.
- Detail: The detail (number of waves) of the wind movement.
- Direction: The direction of wind movement.
- Height Offset: The height where the wind begins to move. By default 0.0, so everything over the object origin will have wind. (So make sure that you position the object on the right height or adapt it with this setting!)
Issues/feature requests?:
https://github.com/Maujoe/godot-simple-wind-shader/issues
Changelog:
v1.0.1:
- custom project icon
Reviews
Quick Information
A simlpe shader that gives objects like grass or plants a wiggle/wind effect.Godot version 2.1 (3.0 planned)Demo Controls:Mouse + WASD or up/down/left/right key to move the camera. F1 to show/hide the frames/second.If you don't need the demo install only the shader folder or its content and follow the instructions:How to use the shader in your project:1. Copy the shader folder or at least its content somewhere into your project folder (See license details).2. Then open/select a mesh in godot and give the object a new ShaderMaterial if it haven't one. (Make sure that the mesh origion is on the right position see below: Shader parameters -> Height Offset ).3. Now go into the material settings and load one of the shaders that you have copied to your project folder.- "wind_shader.tres" is a version that is written in godots shading language. -"wind_shader_graph" is a version for the visual shader editor.4. Now you can add a texture to it and play with the shader parameters to get a nice result.Shader paramenters- Speed: The speed of the wind movement.- Strength: The strength of the wind movement.- Detail: The detail (number of waves) of the wind movement.- Direction: The direction of wind movement.- Height Offset: The height where the wind begins to move. By default 0.0, so everything over the object origin will have wind. (So make sure that you position the object on the right height or adapt it with this setting!)Issues/feature requests?:https://github.com/Maujoe/godot-simple-wind-shader/issuesChangelog:v1.0.1: - custom project icon