Search Unity

Question URP render feature question

Discussion in 'Universal Render Pipeline' started by BakeMyCake, May 31, 2023.

  1. BakeMyCake

    BakeMyCake

    Joined:
    May 8, 2017
    Posts:
    175
    I'm new to URP and apologize in advance if this question is incredibly stupid, but I didn't find an answer in the URP docs.

    Let's say I've added a new render feature(render objects experimental) to my URP render data, affecting a specific layer as illustrated below.
    upload_2023-5-31_13-21-7.png

    Is it correct that the selected layer will be rendered twice (assuming I haven't done any other actions to exclude said layer from rendering)? First time rendered during the normal opaque pass, and then drawn over a second time during the AfterRenderingOpaques?
     
  2. BakeMyCake

    BakeMyCake

    Joined:
    May 8, 2017
    Posts:
    175
    Nevermind. Checked the frame debugger and got my answer. It does in fact get drawn twice.