Let's say one has a black/gray/white mask and wants to draw picture A over the white/gray values and picture B over the black/gray values (the blacker the more B picture). The best I come up with would be something like:
- Set to RenderTargetA
- Draw Mask
- Draw PictureA over Mask (using DepthStencilState)
- Set to RenderTargetB
- Draw Mask
- Draw PictureB over Mask
- Draw both RenderTargets over each other somehow
But that just seems a) overly complicated and b) both render targets still have the mask drawn on them so it wouldn't have worked anyway. So how would one achieve this?