So I saw this thread about full screen but wasn’t sure if it was entirely the same issue or not
I am looking for a way to set Unity’s render resolution independent of the canvas display resolution. So I want to be able to render at 1080 and display on a 4k canvas, or 2k canvas, or 640 canvas. Different aspect ratios as well.
I could do this by rendering to the Unity canvas off screen and then copying the canvas data over to another canvas, but this seems like madness.
Is this already supported? (I see in the above thread that for full screen it is not)
Wow, my apologies for the late reply, I totally missed this.
My use case is that I have the Unity app running in the center of my page with some HTML elements outside for doing various input things.
My main problem is that the inputs lag when Unity is running heavy so I’d like to minimize Unity’s workload as much as possible. I’d also like the page to run as consistently as possible across different resolutions. Especially if the user has a low end computer, it’d be nice to allow them to run at lower resolution. (my Unity client is currently resizeable as it fills out the center of the page)
I also have an input for recording video and having the user be able to select the resolution for that would be nice,as opposed to just getting whatever resolution Unity is currently running at.
Is this basically making the Unity canvas that’s embedded on a page resizable according to the resolution of the users computer, this would be hugely helpful. To be able to specify a min to max size for those users who work from a 12" laptop up to 17" notice or something
Sounds like it, yeah. Right now when a user maximizes the browser on a 4k monitor the resolution of Unity jumps up accordingly. Then when manually shrinking the browser the resolution scales down.
So I’d like to give the option to the user to choose. “I have a 4k monitor, Unity is running too slow at this resolution, I’ll set it to 1280x720” Something like that.
Or alternatively just do it programatically like: If userResolution>1280x720, set Unity to 1280x720