I am trying to make a camera follow a target while the depth of field adjusts to the target.
I found out that I am not able to keyframe the depth of field property (or any property) from the PBR render target object in a Unity timeline.
Is there any way i can get this to work?
Or any pointers to a script where i can set a unity object to adjust the focal depth on the PBR render target settings based on the distance of the camera to the object?