- Home /
Question by
Deepestblue · Apr 28, 2013 at 12:09 AM ·
shaderrendertexturealphaalpha-channel
Shader to render RenderTexture plus alpha?
Hi all,
my MiniMap has a circular shape, the RenderTexture (naturally) doesn't. I would like to get rid of the unneeded corners. Is a shader which will take the RenderTexture as unlit and add a greyscale texture as alpha channel? If so, has anybody a clue how this could be done? Or are there any better ways to achieve the same?
Thanks for the help!
Comment
Best Answer
Answer by Deepestblue · Apr 27, 2013 at 10:01 PM
Sorry, found it after asking. :)
http://www.youtube.com/watch?v=ZuV9Xlt-l6g and http://www.youtube.com/watch?v=75wj-vNbG0A even has a tutorial for that.