Hi, please, i need render only the game in 75% of resolution, but is no working, i am using render pass feature to do this, additional i want to know how exclude UI from this, i want to do this by performance approach not by visual style.
Thanks!
The problem with this option, is that also render in half resolution another cameras that use the same render pipeline, i need to do this only for a camera.
Please, some one that can helpme?
what i did is that
i create a raw image and made it strech(covering whole screen) then by script
i generate the render texture at runtime and assign it to first the camera’s rendertexture then send to rawImage
by this means whatever the camera sees it sends to rawImage now write some code to change the rendertexture’s resolution using slider or something…
Camera cam;
RawImage img;
targetWidth = Screen.height;
targetHigh = screen.width;
RenderTexture renderTexture = new RenderTexture(targetWidth, targetHeight, 24);
cam.targetTexture = renderTexture;
cam.Render();
img.texture = renderTexture;