DoF follows Target.
Posted: Wed May 29, 2019 1:12 pm
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?
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?