I need to render a camera positioned above my scene to a pixel perfect area of my gui, with an alpha mask applied to give it smooth edges.
After playing around with a couple different techniques, it seems that using an image postprocessing effect on a camera with a small viewportrect is the way to go. I have attempted to modify the standard vignette postprocessing effect asset, but can't get it to work right.
Does anyone have a better/more efficient way to to this, or know how to craft a proper shader to get this technique to work? Extra points for a radial blur, and the ability to use a custom mask image instead of just a circle.
I would also be more than happy to build this myself, but can't find any documentation that covers this area of Unity. If there are any tutorials on crafting postprocessing effects (especially on anything to do with alpha channels in rendertextures), please point me to them!
Cheers,
-Aubrey