react-postprocessing icon indicating copy to clipboard operation
react-postprocessing copied to clipboard

Impossible to smoothly animate target with dof

Open nshiab opened this issue 4 years ago • 0 comments

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

nshiab avatar Oct 18 '21 21:10 nshiab