What this component contains
ATTRIBUTION.mdLICENSEREADME.mdcomponent.jsondemo.tscninspect_shader.pymaterial.trespreview.pngsprite_squash_stretch.gdshadertest_package.pyverification/native.json
How it works
- Shader type
- canvas_item
- Parameters
- amount (float = 0.22), speed (float = 5), pivot_u (float = 0.5), pivot_v (float = 1), use_fixed_stretch (bool = no), fixed_stretch (float = 0), hop_height (float = 24)
- Use it on
- A Sprite2D (or other textured CanvasItem) with transparent space around its shape, assigned to the node as usual.
- Result
- The disc squashed wide and flat against the ground line.
- Renderers
- compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
- Placement
- res://baltor/godot_shaders/sprite_squash_stretch/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
contract_staticengine_runengine_log_cleanshader_in_scenecapture_writtenrender_not_uniformshader_changes_pixels
Limits to consider
Scaling a four-vertex quad gives uniform squash, not a bulge. The hop moves only the drawing, not the node, so collision does not follow it.