18

I have a large environment texture of space that I'm using as the background of my scene.

carina

However, when I try to use it in my render, I can only see a tiny part of it.

render

I want to scale down or "zoom out" on the texture, so I can see more of it in the rendered area. I tried to use a Mapping node and scale it that way, but it did nothing (I could rotate, but not scale).

This is my node setup:

enter image description here

Somatic
  • 2,582
  • 5
  • 27
  • 50
  • What is the size of the image? What is the render size? Are you rendering at 100%? Can you post your compositing node setup? –  Mar 18 '16 at 00:19
  • The image is 4.66 MB, 4533x2618 pixels. Render resolution is 1920x1080 at 100%, if that's what you mean by "render size." I'm not using any compositing nodes, but I did add the nodes used for the world shader. – Somatic Mar 18 '16 at 00:27

3 Answers3

28

Vector Mapping node is the correct way.

Make sure you are using an Environment Texture node connected to the Generated socket of a Texture Coordinate node. Then use the Vector Mapping X or Y scale to control it.

enter image description here

The trick is making sure you scale only in one of the three axis at a time, otherwise it will yield no visible effect.

Also have in mind that this will introduce some stretching distortion that may be more visible in certain directions, as spherical environment textures can't really be "zoomed out" in the traditional 2D image sense.

Correctly zooming out would require actually moving the physical camera in relation to the background subject and the image would need to be captured again from a different point in space, yielding a slightly different perspective. This cannon be correctly simulated with bare image transforms or manipulation, and is thus an approximation.

Duarte Farrajota Ramos
  • 59,425
  • 39
  • 130
  • 187
  • 9
    Okay, so the trick is to only scale it on one axis (just the Y, in your example). When I scaled it on all the axes simultaneously, it did nothing. Thanks! – Somatic Mar 18 '16 at 00:43
3

The scale mapping solution only works if you don't have to look around with your camera, otherwise you will notice the sphere-like background image has been stretched.

A correct way to do this scale is actually changing the Field Of View (or Focal Length in blender) of your camera, for this:

  1. Select your camera
  2. In the 3D Viewport: Right Mouse Click > Camera Lens Angle and drag

or

  • In the Properties panel click the green camera tab, in Lens section change the Focal Length field
  • 1
    This definitely produces superior results. No odd distortion and 3D objects in the scene will be affected appropriately. – Atorian Sep 04 '21 at 11:30
1

Another way I would try is to tile the texture, make the texture tilable in photoshop, then set it to half scale, so the image repeats, this works best with backgrounds that you don't have a ton of unique details or don't move the camera around to see the repeating image. The way I would do it is to add a wider additional part to the image, of say just stars, which will then compress the part you want to see into your field of view.

AnatoleB
  • 11
  • 2