per-pixel collision detection