- Home /
how to initialize camera render target with RenderTexture
there are two cameras in my game first one is for low resolution (364*240) rendering of static objects and second one is for high resolution (1920*1080) rendering of dynamic objects
i want to set 364*240 RenderTexture as camera output of first camera then resize this output to 1920*1080 and before start second camera rendering , initialize second camera color and depth target with this resized output
how can i achieve this? i'm using universal render pipeline so i think i can't use commandbuffer and camera.addcommandbuffer aproach also i know similar aproach in urp is renderer feature and custom render pass but i don't know how to access RenderTexture's depth and color buffer in that aproach if you know the right way to go or any example code please comment for me
Your answer
Follow this Question
Related Questions
How to call Camera.Render from Update 1 Answer
Check if mouse is over GUI element using Rendertexture? 1 Answer
One-frame delay with 2 cameras 0 Answers
Render Single Camera to Two Displays 0 Answers
Camera with Target Texture. 1 Answer