Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    $\begingroup$ either add more cameras with different DOF or keyframe your DOF values. $\endgroup$
    – Chris
    Commented Jun 12 at 13:56
  • $\begingroup$ Sorry, I didn't mention that it's an animation. $\endgroup$
    – N03
    Commented Jun 12 at 14:12
  • 1
    $\begingroup$ Do you mean having multiple focal points in one render ? For example an object at 1m is on-focus, another at 10m on-focus, and everything else is out of focus ? Or do you want to achieve a split diopter lens ? The "combine them" is unclear to me. $\endgroup$
    – Lutzi
    Commented Jun 12 at 14:55
  • $\begingroup$ Just as you wrote in your first sentence, that's what I mean! $\endgroup$
    – N03
    Commented Jun 12 at 16:45
  • 1
    $\begingroup$ You could use the Z pass to drive a bokeh blur node, with a colorramp to define the blur according to the distance. I can't write a full answer RN but it should work. $\endgroup$
    – Lutzi
    Commented Jun 13 at 15:46