Freeze camera field of view

It’s possible to have the same image renderer no matter the resolution of the screen ?

It seems that as i give more width to the screen (maintaining the height), i can see a more wider area, but i want to draw the same objects in the same positions but with more or less pixels, like if i did a resize of an image just on the horizontal size.

.ORG

Any thoughts ?

I don’t know, it seems to me that the camera does render the same area regardless of the window size.
Of course - this is assuming that the aspect ratio of the window is the same. If you change the aspect ratio, the area covered will change.

Or am I missing your point?

2 ways I can think of to do it: only use “stretched” screen modes, not true widescreen. Or, use Screen.Width and Screen.Height to get the aspect ratio, and apply that to the horizontal scale and position of every object.

–Eric

Maybe i should render all to a render texture and then align a surface to the camera…

I think there must be an easy way. I mean, Unity is doing something to change the portion of the screen seen, changing the aspect ratio perhaps. I want to disable that.

.ORG