Export for Unreal Engine (Vanilla)
1. Export the Lens File
In the Export section, choose the target "Unreal" and press "Export Lens Files"
The extension is ".ulens"
2. Required Plugins
In unreal, make sure you have the following plugins enabled:
- Camera Calibration
- LiveLinkLens
- OpenCV Lens Distortion
3. Drag-and-drop in Unreal
Drag and drop the .ulens file in the content browser.
If you double-click on the lens uasset, this window will appear with all the curves already filled in:
4. Create a Lens Component in the Camera
Warning
The camera must receive the lens tracking through a Livelink component, like when using the Livelink FreeD plugin.
Add a "Lens" component in the Cine Camera Actor:
You can now drag and drop the lens asset in the "Lens File" slot. In addition to this, you need to activate "Apply Distortion" and override the filmback with that of the lens file, as shown below: