Would it be possible to check, if the pixel that were hit has an alpha channel and give the shadow pixel the same transparency? This would be usefull to create for e.g. shadows for trees.