Is there any example on how to use the Depth Of Field effect? #297
Answered
by
MikhailGorobets
chelvisgit
asked this question in
Q&A
-
I added the DOF effect as the https://github.com/DiligentGraphics/DiligentFX/tree/master/PostProcess/DepthOfField shows but unfortunately I'm always ended up with a full blurred image. And yes, the depth and color buffer are sent correctly. Any hint? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
MikhailGorobets
Jul 1, 2024
Replies: 1 comment 1 reply
-
@chelvisgit |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chelvisgit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@chelvisgit
The current implementation of Depth of Field requires a physical сorrect camera. Please try to set the corresponding parameters as in this commit
DiligentGraphics/DiligentSamples@de3d88a