Simple Wind Shader (Incl. Demo)

An asset by Maujoe
The page banner background of a mountain and forest
Simple Wind Shader (Incl. Demo) image holder but it is empty

Quick Information

0 ratings
Simple Wind Shader (Incl. Demo) icon image
Maujoe
Simple Wind Shader (Incl. Demo)

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

Supported Engine Version
2.1
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
6 years ago
Git URL
Issue URL

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

  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.
  4. 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

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Simple Wind Shader (Incl. Demo) icon image
Maujoe
Simple Wind Shader (Incl. Demo)

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

Supported Engine Version
2.1
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
6 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers