Which seems to imply that I simply set the screen resolution. I can’t really tell if its working or not. It renders at what appears to be 320x240, but I’m not sure if the actual resolution is any different.
I also tried doing the same thing in a window, and found that the window size was directly tired to the resolution I set. In other words, the window was 320x240. When I allow the player to resize the window, the resolution seems to reset along with it. I.e, the larger the window is, the higher the resolution.
So in other words, I’m not sure if the SetResolution command is working like I want. Does anyone know how I might check, and if it isn’t working, how I could get Unity to render at a lower resolution than it displays?
I suspect the feature in the linked thread is only actually available on mobile (or other devices where apps are forced to be fullscreen at a particular resolution). Which platform are you targeting?
PC. It’s really important that I can render at a low resolution for the art style I’m experimenting with.
I also suspect that in full screen it’s actually rendering at 640x480, but I know that it renders at 320x240 in a window. I just need a way to resize the window and keep that resolution :P. Or, get it to render at 320x240 in full screen I guess.
You’d need to use a rendertexture, where you render the camera to a 320x240 texture and display that as a full-screen texture. Keep in mind that 320x240 is a 4:3 aspect ratio, and widescreen is more typical these days.
That does work, and it actually is probably the easiest solution for several render textures on the same screen. But is there any method that doesn’t require a second camera? Graphics.DrawTexture seems to not be reliable. Maybe I’m just not calling Graphics.Blit Graphics.DrawTexture at the right time. What “Messages” function is recommended?
I’ll still need to know when to do the blitting, to make sure that the GUI Texture isn’t updated a frame late. Maybe the water FX package will teach me. The documentation didn’t answer this, and testing things out just froze my entire OS except for mouse movement, several times, so I’m not interested in experimenting anymore.