#Render Custom Camera in Custom Render Pass using URP Render Graph

1 messages · Page 1 of 1 (latest)

remote plover
#

hi, title describes the general premise of what I'm trying to do. the bigger context is trying to figure out how to have a custom camera rendering whever in the scene I want, at whatever resolution and whatnot. I've tried looking at the render objects API and while it has helped a wee bit, its only specific to rendering ONTOP of the current camera view, when I want to render using a custom camera completely.

the inevitable goal is to expand this to do some GI stuff in the future, but for now I just want to try to render a cubemap at the current camera position, and in order to do that I need to have a custom camera, and render each face of the cubemap (6 faces) and combine it all into a cubemap. I've done this before in BIRP and know what to expect, but SRPs are somewhat new to me so I'm unfamiliar with the process and API

#

I'll share the code in a sec, but here in the frame debugger I can see the render pass and the clear command I issued, but it's all empty and nothing else is being drawn despite creating and using the renderer list

#

the pass is showing up in the render graph

#

but the issue seems to be happening with RasterCommandBuffer.DrawRendererList(RendererListHandle)

#

here is my code at the current moment

#

to help narrow down for those looking where to look, specifically in CameraCubemapPass where I'm trying to use my custom camera, which is setup and created in CameraCubemapRendererFeatureURP, to render a portion of the scene