Search Unity

Question (HDRP)Some bug about use RenderTexture to show model in UGUI(2019.4.10f)

Discussion in 'High Definition Render Pipeline' started by Wayne-wyj1994, Dec 12, 2020.

  1. Wayne-wyj1994

    Wayne-wyj1994

    Joined:
    Nov 13, 2019
    Posts:
    30
    I just use 2019.4.10f (HDRP) to create my project and want to show Character Model in UI.As I know well about lack for camera stacking,so I use RenderTexture and RawImage to do it.
    upload_2020-12-12_19-7-12.png
    The ModelCamera only culling "UI" layer (of course,the model is already set to "UI" layer) take only CharacterModel of "UI" layer in scene Inspector and no background, but actually it also takes what another main camera take. And In game Inspector, this texture did show as below.
    upload_2020-12-12_19-12-39.png

    Maybe it is relative to HDRP camera rendering logic?
    I just want to know how to render model in UI for HDRP with no background ,like for built-in or URP.
    Does anyone can give me some suggestions?
     
  2. Wayne-wyj1994

    Wayne-wyj1994

    Joined:
    Nov 13, 2019
    Posts:
    30
    HDRP version is 7.3.1
     
  3. Ghost_101010

    Ghost_101010

    Joined:
    Apr 18, 2014
    Posts:
    10
    Change "ProjectSetting/Quality/HDRP/Rendering/ColorBufferFormat" to R16G16B16A16
     

    Attached Files: