-
Notifications
You must be signed in to change notification settings - Fork 269
Camera Shift
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.
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
Now all you have to do is reproduce the effect in Unreal Engine with a process material.
- Create this material
- Create an instance that you apply to your camera post process.
- And now set the material instance propertys to replicate the shift effect.
Here the result:
Note: Since the post process will literally zoom you will have to render with a higher resolution so as not to lose definition.
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
- Download And Installation
- Download And Installation (Dev Branch)
- Static Meshs ‐ Quick Start
- Skeletal Meshs ‐ Quick Start
- Release-Logs
- Transform And Pivot Point
- Axis Transforms
- Level of details (Lods)
- Collisions
- Sockets
- Cameras
- Camera Depth of Field
- Camera Shift
- Camera Axis
- Curves and Splines
- Animations
- Morph Targets (Shape keys)
- Materials
- Vertex Colors
- UV Maps
- Light Maps
- Generate UV Light Maps
- Alembic animations
- Groom Simulation
- Chaos Flesh
- Custom Properties Animation to Curves UE
- Export Collection like a StaticMesh
- Import Exported Assets to UE
- How Import Blender assets to Unreal Engine -> https://youtu.be/2ehb2Ih3Nbg
- How Import Blender camera to Unreal Sequencer -> https://youtu.be/Xx_9MQu2EkM
- Old Teaser -> https://youtu.be/YLOZZIlhgaM