Skip to content
BleuRaven edited this page May 3, 2023 · 6 revisions

It is possible in Blender like on some real cameras to offset the camera using Shift X/Y in camera data for get this effect.
BlenderCameraShift It not an rotation is a shift. Exemple of use: https://youtu.be/b1rUuvH3fs8

This effect is unfortunately not supported in Unreal Engine currently, so I recommend you not to use the shift. That said, there are still ways to reproduce this effect in Unreal Engine.

  • Duplicate your camera
  • Reset the shift values
  • And move the focal lenght away so that the previous camera is visible in the new camera

CameraUpdate

Now all you have to do is reproduce the effect in Unreal Engine with a process material.

  • Create this material
    image
  • Create an instance that you apply to your camera post process.
    image
  • And now set the material instance propertys to replicate the shift effect.

Here the result:
Render_BlenderToUnrealCameraShift
Note: Since the post process will literally zoom you will have to render with a higher resolution so as not to lose definition.

Math part

If you want to have perfect precision you will have to do a little math, here is what I did in my case. Property in my old camera:

  • Focal_Length: 34.8119 mm
  • Shift_X: -0.189763
  • Shift_Y: -0.201715
  • Video_Ratio: 16/9 = 1.7777

Property in my new camera:

  • Focal_Length: 20.272 mm
  • Shift_X: 0.0
  • Shift_Y: 0.0
  • Video_Ratio: 16/9 = 1.7777

The value I need set in my post process material:

  • Scale = 1.7172 = 34.8119 / 20.272
  • Shift_X = -0.1104 = 0.5823*-0.189763
  • Shift_Y = -0.2088 = 0.5823*-0.201715*1.7777

image

Clone this wiki locally