Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How do I make my RenderTexture / RawImage overlay semi-transparent?

Discussion in 'Shaders' started by kennyrogers7272, Dec 9, 2017.

  1. kennyrogers7272

    kennyrogers7272

    Joined:
    Jan 22, 2015
    Posts:
    38
    I've assigned a render texture to a camera, and am displaying the render texture in a raw image inside the UI. The radar looks good, but I would like to make it semi-transparent. How can I do this? I've tried reducing the background alpha of the camera, but this has no effect.

    A lengthy google search has led me all over the place, and I now suspect that I must somehow add transparency to the shader that I'm using. Can anyone offer me insight? I'm not attached to the RenderTexture/RawImage system either, and am open to suggestions. See picture.