x


Zoom out but background stays the same

How do you zoom out so that everything in the foreground get smaller( as usual), but the background remains the same size?

more ▼

asked Aug 20 '12 at 11:55 AM

pintee gravatar image

pintee
25 5 11 22

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

You want a Skybox

more ▼

answered Aug 20 '12 at 12:22 PM

Khada gravatar image

Khada
2.2k 2 9

(comments are locked)
10|3000 characters needed characters left

It almost sounds like you are talking about a "reverse" dolly zoom, that effect in filmmaking where you move the camera closer to a subject while simultaneously zooming out the focal length of the lens (or vice versa). In Unity terms it would amount to adjusting the camera distance (translation) and Camera.fieldOfView at the same time to get the desired effect.

If memory serves me correctly, there might be a tutorial on this in the online docs/reference section.

Found it:

http://docs.unity3d.com/Documentation/Manual/DollyZoom.html

more ▼

answered Aug 20 '12 at 12:29 PM

GoCatGoGamesLLC gravatar image

GoCatGoGamesLLC
66 2 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x183
x166

asked: Aug 20 '12 at 11:55 AM

Seen: 331 times

Last Updated: Aug 20 '12 at 02:43 PM