Search Unity

Alpha in Render Texture MUST be Alpha

Discussion in 'High Definition Render Pipeline' started by nsxdavid, Sep 17, 2019.

  1. Bordeaux_Fox

    Bordeaux_Fox

    Joined:
    Nov 14, 2018
    Posts:
    589
    There is no other way in HDRP.
     
  2. nsxdavid

    nsxdavid

    Joined:
    Apr 6, 2009
    Posts:
    476
    You have to change something, right? I mean there needs to be an alpha channel to work with.
     
  3. holyfot

    holyfot

    Joined:
    Dec 16, 2016
    Posts:
    42
    Would be nice to have this in a separate render pipeline just for render textures, so that we aren't forced to use it in our main project's RP.
     
  4. nsxdavid

    nsxdavid

    Joined:
    Apr 6, 2009
    Posts:
    476
    I guess at the end of the day, you eventually have to get that render texture back on the screen. And for that to work, the whole pipeline has to have a alpha-compatible pipeline.
     
  5. pcreation

    pcreation

    Joined:
    Sep 1, 2012
    Posts:
    6
    Unity 2019.4.5f1 with HDRP V7.3.1. Render Texture, transparent background, not working. Note tried changing the Render Texture > Color Format to ‘R16G16B16A16’. Is there a fix not requiring custom shaders or engine code that can resolve this problem?
     
  6. REDvsGREEN

    REDvsGREEN

    Joined:
    Sep 8, 2019
    Posts:
    34
    Same issue
     
  7. Michal_Stangel

    Michal_Stangel

    Joined:
    Apr 17, 2017
    Posts:
    151
    I have same problem and setting HDRP Color Buffer Format did not help. Is there something I am missing or some other way? This is quite game breaking problem.

    RenderTexture: R16G16B16A16_UNORM
    HDRenderPipelineAsset Color Buffer Format: R16G16B16A16
    HDRP: 10.4.0
    Unity 2020.3.3f1
    Complete setting enclosed.

    Should add that it has been working fine before switch to HDRP.
     

    Attached Files:

    Last edited: Apr 9, 2021
  8. Michal_Stangel

    Michal_Stangel

    Joined:
    Apr 17, 2017
    Posts:
    151
    Tested it also in new HDRP project and changing to R16G16B16A16 really doesn't work.
     

    Attached Files: