Search Unity

No Alpha Channel In Cubemap RenderTexture..? Unity Seems To Overwrite Alpha..

Discussion in 'General Graphics' started by brilliantgames, Jan 8, 2018.

  1. brilliantgames

    brilliantgames

    Joined:
    Jan 7, 2012
    Posts:
    1,937
    This has been very frustrating for me. I am attempting to render the scenes depth into the alpha channel in a cubemap, but Unity seems to override it with a weird alpha image. The image appears to be black for sky, and white for any surface... I have used this technique on regular render textures many times using 'keepalpha' in whatever shader I am using. This has been very frustrating cause there seems to be no answer for this anywhere on the internet. Please, if anyone knows a solution to stopping Unity from overwriting the alpha in real time cubemaps, please let me know.
     
  2. brilliantgames

    brilliantgames

    Joined:
    Jan 7, 2012
    Posts:
    1,937
    Anyone from Unity answer this question?