Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Feedback Render texture does not have alpha channel (URP)

Discussion in 'Graphics Experimental Previews' started by URocks, Oct 25, 2019.

  1. URocks

    URocks

    Joined:
    May 1, 2014
    Posts:
    159
    I am using universal render pipeline but I can't get the alpha to work inside render texture

    I tried setting camera color to solid with alpha, also render texture color format has an alpha in it but the alpha channel is always white
     
  2. URocks

    URocks

    Joined:
    May 1, 2014
    Posts:
    159
    Nobody? I don't know if it is a bug or I am doing something wrong?
     
  3. Andre_Mcgrail

    Andre_Mcgrail

    Unity Technologies

    Joined:
    Dec 9, 2016
    Posts:
    244
    Hi,

    Can you share some more information, for example the texture format and how the cameras are setup?

    This is currently working but there's some cases where the alpha will not be preserved, one case is with PostProcessing this has a high cane of clearing the alpha channel due to certain effects not working well with it.
     
    URocks likes this.
  4. URocks

    URocks

    Joined:
    May 1, 2014
    Posts:
    159
    You are right I had postprocessing turned on, Thanks a lot for the answer :)
     
  5. ssd

    ssd

    Joined:
    Jul 2, 2014
    Posts:
    5
    Its 2022 and post processing still dose not work with alpha :(
    Are there any plans to enable postprocessing with alpha in render texture ;)
     
    eterlan and newguy123 like this.
  6. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,355
    Hi,

    Is this the reason the new Blitter class will not write to the rendertexture transparency in URP ?
    I use the defaultHDR rendertexture format.

    Thanks