Skip to content

Commit

Permalink
Fix DOF
Browse files Browse the repository at this point in the history
  • Loading branch information
dictoon committed Apr 18, 2018
1 parent 73b57a0 commit 2dadb7e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,7 @@ void set_camera_dof_params(

// DOF settings.
params.insert("f_stop", camera_node->GetLensApertureFNumber(time, FOREVER));
params.insert("autofocus_enabled", false);
params.insert("focal_distance", camera_node->GetFocusDistance(time, FOREVER));
switch (camera_node->GetBokehShape(time, FOREVER))
{
Expand Down

0 comments on commit 2dadb7e

Please sign in to comment.