URP render feature question

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.
9047647--1250017--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?

Nevermind. Checked the frame debugger and got my answer. It does in fact get drawn twice.

Did you ever figure out how to not make this render twice?

It’s been 2 years ago, so I apologize if my reply isn’t as detailed or accurate as it could be.

I did figure it out, but I’m not sure the experimental features of Unity from 2023 are still relevant. Surely they changed and improved everything by now?

Anyways, I’ve checked what I still have access to and it appears that what you’re looking for is as straightforward as going into your Render Data asset and specifying that the layer in question is excluded from rendering by default.

That was what I was looking for thanks! The renderer feature is larger the same in unity 6, they probably just added features and other stuff