Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Custom Render Texture HDRP can't remove background

Discussion in 'High Definition Render Pipeline' started by jdg23, Jul 15, 2022.

  1. jdg23

    jdg23

    Joined:
    Feb 10, 2020
    Posts:
    16
    Hi,

    We have a project in HDRP where user can inspect object.

    The inspection is done via a custom render texture put on a RawImage.

    The custom render texture is set via a second camera different from the player camera, called Inspection Camera. It only renders a layer called InspectionObject (the inspected object is set on that layer of course).

    We have to keep the default layer as otherwise if there is only the inspected object layer selected, the inspected object becomes black.


    Also, for some reason, the background can't be removed despite selecting background to none, it shows a part of the background from the main camera. In the test we had made in URP we did not have that issue.

    From what I read in my searches, it seems it could be linked to the HDR settings of the camera but it seems we can't deactivate it in HDRP ? I did not find any settings to remove it.

    Or is it linked to another issue ?



    I've attached screeshots of the issues and the settings we have.

    Thank you
     

    Attached Files:

    • 1.png
      1.png
      File size:
      360.4 KB
      Views:
      173
    • 2.png
      2.png
      File size:
      77.2 KB
      Views:
      176
    • 3.png
      3.png
      File size:
      103.2 KB
      Views:
      171
    • 4.png
      4.png
      File size:
      495.5 KB
      Views:
      175