
What this component contains
ATTRIBUTION.mdLICENSEREADME.mdcomponent.jsondemo.tscninspect_shader.pymaterial.trespreview.pngsnow_flakes_2d.gdshadertest_package.pyverification/native.json
How it works
- Shader type
- canvas_item
- Parameters
- snow_color (vec4 = 1, 1, 1, 0.9), density (float = 0.55), fall_speed (float = 0.15), sway (float = 0.35), wind (float = 0.1), flake_scale (float = 14), aspect (float = 1)
- Use it on
- A ColorRect above the scene covering the area that should show snow.
- Result
- A city scene behind white snowflakes of three sizes drifting down.
- Renderers
- compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
- Placement
- res://baltor/godot_shaders/snow_flakes_2d/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
contract_staticengine_runengine_log_cleanshader_in_scenecapture_writtenrender_not_uniformshader_changes_pixels
Limits to consider
Flakes are soft discs, not crystal shapes. Each flake is confined to its cell, so very large sway values clip at cell borders.