Fixed global DoF point that is not afected from camera position

Hello!

I’m new to Unreal Engine, so I hope I get some help for my odd request that helps me get started with my unique idea :slight_smile:

PLEASE let me know if my question is hard to understand, I will try to explain it again. Thanks in advance!

So what I try to achieve is to have two cameras in scene. The camera 2 is seeing objects with same fixed blurriness as they appear in the camera 1 DoF.

I try to demonstrate the effect here:

So if the object is blurry for camera 1, the camera 2 sees the object with same blurr no mather the position, distance and angle of the object from camera 2.
And also if the object is sharp for camera 1, the camera 2 sees it sharp no also mather the position, distance and angle of the object from camera 2.

What is usecase?
You just need to modify circle of confusion(coc) calculating code.

use case is showing how a “real” camera would capture DoF by having the user walk around the scene and looking at the cameras DoF from a side.

I try to look into the CoC, if you have any tutorials or docs you reccomend, that would be great :slight_smile:

thanks for pointing it out