What this component contains
ATTRIBUTION.mdLICENSEREADME.mdcomponent.jsondemo.tscninspect_shader.pymaterial.trespreview.pngsprite_wind_sway.gdshadertest_package.pyverification/native.json
How it works
- Shader type
- canvas_item
- Parameters
- strength (float = 14), speed (float = 1.6), gust_strength (float = 10), gust_wavelength (float = 600), gust_speed (float = 220), stiffness (float = 1.5), base_v (float = 1)
- Use it on
- Sprites whose planted edge is at the bottom (or set `base_v`).
- Result
- Four plant sprites leaning and swaying at different phases above the ground.
- Renderers
- compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
- Placement
- res://baltor/godot_shaders/sprite_wind_sway/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
contract_staticengine_runengine_log_cleanshader_in_scenecapture_writtenrender_not_uniformshader_changes_pixels
Limits to consider
A Sprite2D has four vertices, so it shears rather than curves; use a subdivided Polygon2D or MeshInstance2D for a curved bend. Large shears push the sprite beyond its bounding rectangle used for culling.