react-postprocessing
react-postprocessing copied to clipboard
Impossible to smoothly animate target with dof
Hi!
While trying to animate the target of Depth Of Field, we noticed that it overwrites the target due to props being present in the dependence array.
Is it possible to avoid overwriting it?
https://github.com/pmndrs/react-postprocessing/blob/cc3f8b68235eb6c3f90508058834fbe2a07af07f/src/effects/DepthOfField.tsx#L22-L32