I'm just in the process of adding widescreen support to Naked War and it looks pretty good. I've got all the 2D stuff using the full screen width etc.
The problem I've noticed is that 3D viewports are scaled according to the width of the viewport so when you make it wider you don't get a wider view. The image is effectively zoomed and cropped at the top and bottom.
Is there a simple way I can make it the other way around so a wider viewport is actually a wider view?
I'm looking for a formula where I can bung in the zoom value & the aspect ratio and get a new zoom value. Is this possible? My head hurts!
The problem I've noticed is that 3D viewports are scaled according to the width of the viewport so when you make it wider you don't get a wider view. The image is effectively zoomed and cropped at the top and bottom.
Is there a simple way I can make it the other way around so a wider viewport is actually a wider view?
I'm looking for a formula where I can bung in the zoom value & the aspect ratio and get a new zoom value. Is this possible? My head hurts!