Force CameraSpace canvas to render after PostProcessing

Hi, I was wondering if anyone knew of a way to get my ui (which is in camera space) to render after the post processing?

Basically I’m taking screenshots by reading from a buffer and I can get my ui elements to render if I’m in camera space (I couldn’t get it to work in screenspace) however my postproccessing effects such as ambient occlusion, colour grading, and DOF blur are being rendered before the ui layer so the UI is affected by it.

Building my own srp is a bit beyond me at this point but I’m wondering if maybe there is a way I can force the order of rendering so that the ui is right on top?

(I looked into hooking a command buffer onto the final camera event but this only works in standard, and the scriptable renderer features are only coming with URP in 2019.3)

Thanks

I’ve managed to get this partially working by assigning a ‘Renderer Feature’ to the renderer scriptable object. It means that the UI get rendered after the post fx. the only issue I’m having now is that there is some edge blur bleeding through because its essentially being rendered twice. once before the post processing is applid and then again once after.

My next question is whether its possible to explicitly stop a layer from rendering earlier in the stack and only have it rendering at the end?