While stretching camera bounds, changing width adds black offset while changing height stretches image.
How can I achieve opposite behavior and match the bounds to the width instead of height ?
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.Sign up to join this community
Try changing the camera's orthographic size based on aspect ratio. The larger the orthographic size the farther out it will have "zoomed". For instance, if your camera's orthographic size is 10 normally, when you switch to 16:9 aspect ratio set the orthographic size to a smaller value.
Or for perspective camera you can try this