Can anyone help me out?
I’m trying to replace RenderSingleCamera() with SubmitRenderRequest(). In RenderSingleCamera(), I just pass the context and the camera I want to render. But with SubmitRenderRequest(), I don’t understand what kind of data the request parameter needs. For example:
RenderPipeline.SubmitRenderRequest(cameraB, request);
What exactly does request mean here? All I’m aiming for is to manually render my water reflection camera. I’ve assigned a render target texture, and I need it to render manually in beginCameraRendering
Here’s what I currently have:
private void PreRender(ScriptableRenderContext context, Camera cam)
{
SetupRefCam(cam);
UniversalRenderPipeline.RenderSingleCamera(context, reflectioncam);
}
How can I replace RenderSingleCamera() with SubmitRenderRequest()? Am I missing something, or is there a better approach for this? I’m a bit new to this, so if I’m making a silly mistake, please go easy on me! ![]()