# HyprTile Raindrops for wallpaperd

Wallpaperd port of the stable `shader/fx` effect `hyprtile-raindrops`.
It intentionally does **not** use or depend on `hyprtile-rain-bigwings-elie-es2.frag`.

The procedural rain space is flipped once, globally, exactly like the fixed
compositor effect. Main drops, secondary droplets and trails therefore share
one consistent downward direction.

The pack expects an image or video input for the rainy-glass refraction look.
Examples:

```bash
hyprtile-wallpaperd --image ~/Pictures/wallpaper.jpg --pack raindrops:default
hyprtile-wallpaperd --image ~/Pictures/wallpaper.jpg --pack raindrops:storm
hyprtile-wallpaperd --image ~/Pictures/wallpaper.jpg --pack raindrops:sharp
```

Global wallpaperd post-processing can be combined naturally:

```bash
hyprtile-wallpaperd --image ~/Pictures/wallpaper.jpg --pack raindrops:night-city --mix 0.85 --brightness 0.80
```

`sharp` and `sharp-storm` keep the source sharp while retaining droplet
refraction.

## Drop amount / density

The shader has a real drop-density control:

```glsl
uniform float u_drop_density;
```

`0.0..1.0` controls how many cells in the normal rain layers contain a drop.
Values above `1.0` progressively add an additional fine moving-drop layer and
extra static beads. Existing presets use `1.0`, preserving the previous look.

Ready-made amount presets:

- `raindrops:kaum`  (`u_drop_density=0.12`)
- `raindrops:wenig` (`u_drop_density=0.32`)
- `raindrops:mittel` (`u_drop_density=0.60`)
- `raindrops:viel` (`u_drop_density=1.00`)
- `raindrops:krass` (`u_drop_density=1.75`)

Example:

```bash
hyprtile-wallpaperd --image ~/Pictures/wallpaper.jpg --pack raindrops:kaum
hyprtile-wallpaperd --image ~/Pictures/wallpaper.jpg --pack raindrops:mittel
hyprtile-wallpaperd --image ~/Pictures/wallpaper.jpg --pack raindrops:krass
```


Additional sharp density presets:
- sharp-kaum
- sharp-wenig
- sharp-mittel
- sharp-viel
- sharp-krass


Drop size
---------
`u_drop_size` controls the geometric size of the water drops independently of
`u_drop_density`. `1.0` is the original size. Useful range: about `0.5` to
`2.0`; the shader clamps extreme values to `0.35..2.75`. The cell count stays
unchanged, so changing size does not silently change the requested rain density.

Ready-made sharp size packs:
- sharp-klein
- sharp-normal
- sharp-gross
- sharp-riesig
