Builtin Library
- ..
- README.md483 B
- bindings.yaml122 B
- shader.wgsl1.6 KB
README.md
mb_neighbormax
Spreads each tile's dominant velocity across its 3x3 neighbourhood, so a still tile beside a moving one knows what swept over it. A diagonal neighbour only counts when it is travelling toward this tile, which is what keeps a fast object from wearing a square halo.
Includes
mb_tile
Bindings
| name | kind |
|---|---|
tile_map | texture2d |
neighbor_out | storage2d (rgba16f) |
Both carry the velocity in xy and its length in z.