Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Hdrp disable post process on rendertexture

Discussion in 'High Definition Render Pipeline' started by lacas8282, Nov 15, 2023.

  1. lacas8282

    lacas8282

    Joined:
    Apr 25, 2015
    Posts:
    134
    Is it possible?
    If I use the DOF effect on my camera, and then I just render something to a rendertexture, and that show up on az UI rawimage, then I can see the DOF effect on my UI. How can I disable it only on the UI?

    Or in the Sky and Volume thing can I just add a layermask on the postprocess or something?

    This is a second camera
     
  2. adrien-de-tocqueville

    adrien-de-tocqueville

    Unity Technologies

    Joined:
    Mar 16, 2020
    Posts:
    245
    you can use custom framesettings on the camera to disable dof or other effects on this camera, or alternatively use the volume mask property in the environment section of the camera to filter the volumes used by the camera
     
    lacas8282 likes this.
  3. lacas8282

    lacas8282

    Joined:
    Apr 25, 2015
    Posts:
    134
    How to do this? Any tutorial? Thanks
     
  4. adrien-de-tocqueville

    adrien-de-tocqueville

    Unity Technologies

    Joined:
    Mar 16, 2020
    Posts:
    245