# Is there a way to replicate a real life camera with distortion?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-replicate-a-real-life-camera-with-distortion/238469>\
**Category:** Multiplayer & Networking\
**Tags:** General, unreal-engine, FeatureRequest, UE5-0, UE4-26, UE4-27, Blueprint\
**Created:** [July 1, 2021, 5:49pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-replicate-a-real-life-camera-with-distortion/238469 "2021-07-01T17:49:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atlasix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atlasix](https://forums.unrealengine.com/u/Atlasix)\
**Post date:** [July 1, 2021, 5:49pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-replicate-a-real-life-camera-with-distortion/238469/1 "2021-07-01T17:49:07Z")

</div>

Hi,  
I want to replicate a specific type of lens and camera in Unreal Engine, from 6mm fish eye and up. Does anyone know if it is possible and can guide me through it or point me in the right direction? I have been searching all over the internet however I have not seen anything that can replicate it, except the Lens Calibrator plugin which is outdated for 4.26 and I need 4.26 or earlier due to ray tracing.  
I saw there is a lens distortion plugin inside unreal engine 5, however I don’t know how to make it work.

---

<div class="post-metadata">

**Author:** ![scottunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@scottunreal](https://forums.unrealengine.com/u/scottunreal)\
**Post date:** [July 1, 2021, 8:35pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-replicate-a-real-life-camera-with-distortion/238469/2 "2021-07-01T20:35:43Z")

</div>

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/2/fa29a137964cf04cd6f8b789fe4e12660156ba1f.jpeg "Camera Calibration - Virtual Production Tutorial 15") ](https://www.youtube.com/watch?v=XxcRbu-084M)

---

<div class="post-metadata">

**Author:** ![Atlasix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atlasix](https://forums.unrealengine.com/u/Atlasix)\
**Post date:** [July 1, 2021, 9:07pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-replicate-a-real-life-camera-with-distortion/238469/3 "2021-07-01T21:07:14Z")

</div>

This is amazing, thank you! I think I need just that material and plate, I won’t be connected to the camera as I won’t have access to it, however I need to show the director what the set is going to look like if it was shot on a specific 6mm and 8mm distorted lenses.

---

<div class="post-metadata">

**Author:** ![Atlasix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atlasix](https://forums.unrealengine.com/u/Atlasix)\
**Post date:** [July 1, 2021, 9:35pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-replicate-a-real-life-camera-with-distortion/238469/4 "2021-07-01T21:35:13Z")

</div>

Hi again,  
I also posted on the youtube video, maybe you can help:  
Is there a way to add the distortion in unreal to match the camera? I don’t want to remove the distortion, but actually go as wide as a 6mm lens that distorts the image into a circle, and have the circle also in the viewport with black edge as if it was a watch, and not stretched out to the entire screen, if that makes sense? Let me know if you know how to do that please! It would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![scottunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@scottunreal](https://forums.unrealengine.com/u/scottunreal)\
**Post date:** [July 2, 2021, 5:25am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-replicate-a-real-life-camera-with-distortion/238469/5 "2021-07-02T05:25:39Z")

</div>

The same method that measures the lens distortion (as in the video) should be able to be applied to distort as well. Much depends on how accurate you need to match. You can set the standard Unreal camera to 170 degrees view or set the cinecamera to 6mm and set the film back size to match. But these won’t be full fisheye distortions.

The clipping to a circle should be fairly easy as a post-process or even a hud with a mask.

Here are some references:

> **[Topics tagged unreal-engine](https://forums.unrealengine.com/tags/intersection/unreal-engine/question)**
>
> Topics tagged unreal-engine

> **[Topics tagged unreal-engine](https://forums.unrealengine.com/tags/intersection/unreal-engine/question)**
>
> Topics tagged unreal-engine

> [@How to do fisheye lens in UE4?](https://forums.unrealengine.com/t/how-to-do-fisheye-lens-in-ue4/49059/14):
>
> It’s not quite fisheye as it’s more cylindrical than spherical, but [UE4 does now support Panini Projection out of the box](https://docs.unrealengine.com/en-US/Engine/Rendering/PostProcessEffects/PaniniProjection/index.html) thanks to the UT project (R.I.P.). Nothing is really required to enable it other than running the command on that page. If you need something much more closer to a real fisheye, and you’re much smarter than I am, then someone has an opensource project on github called [Blinky](https://github.com/shaunlebron/blinky) that adds a bunch of different projection methods to Quake. The author has also put together some ver…

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/8/e585af7998d5cd64f2815e7fdf764a4657c15885.jpeg "Unreal UE4 Fisheye") ](https://www.youtube.com/watch?v=eA7EFJmkSJA)

---

<div class="post-metadata">

**Author:** ![Atlasix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atlasix](https://forums.unrealengine.com/u/Atlasix)\
**Post date:** [July 6, 2021, 10:21pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-replicate-a-real-life-camera-with-distortion/238469/6 "2021-07-06T22:21:14Z")

</div>

If anyone has found a solution to make lens distortion work in unreal please let me know.  
I am looking specifically for this to get it working, however I have not found any documentation so far: [Lens Distortion Workflows (Beta) - Unreal Engine Public Roadmap | Product Roadmap](https://portal.productboard.com/epicgames/1-unreal-engine-public-roadmap/c/327-lens-distortion-workflows-beta?utm_medium=social&utm_source=portal_share)
