Search Unity

CustomPass.SetCameraRenderTarget is obsolete.

Discussion in 'High Definition Render Pipeline' started by cubrman, Nov 14, 2020.

  1. cubrman

    cubrman

    Joined:
    Jun 18, 2016
    Posts:
    412
    "...Use directly CoreUtils.SetRenderTarget with the render target of your choice".

    Great, could you specify how to get the references for the camera color and depth buffers which are required by CoreUtils.SetRenderTarget?
     
  2. antoinel_unity

    antoinel_unity

    Unity Technologies

    Joined:
    Jan 7, 2019
    Posts:
    265
  3. cubrman

    cubrman

    Joined:
    Jun 18, 2016
    Posts:
    412
    Thanks.