block-based shadow drawing