Search Unity

OnRenderImage on URP

Discussion in 'Universal Render Pipeline' started by atmuc, Feb 6, 2021.

  1. atmuc

    atmuc

    Joined:
    Feb 28, 2011
    Posts:
    1,166
    What is the equivalence of this code in URP? I want to take render texture without stopping rendering on the screen.

    Code (CSharp):
    1. void OnRenderImage(RenderTexture src, RenderTexture dest)
    2. {
    3.     Graphics.Blit(src, dest);
    4.     Graphics.Blit(src, TargetRenderTexture);
    5. }
     
    josefgrunig likes this.