Tresjs / post-processing

Post-processing library for TresJS
MIT License
37 stars 6 forks source link

feat: 66 noise #71

Closed alvarosabu closed 1 year ago

alvarosabu commented 1 year ago

Closes #66

I added @tresjs/leches to the playground and one of the props works but the other BlendFunction is not reactive. I'm not sure if it is a bug on the useEffect or is something done by design (postprocessing package)

I would say would be nice if the blendFunction is changed to create the pass again, but not sure how you are handling this now @Tinoooo

Tinoooo commented 1 year ago

So far, I simply left the blendFunction non-reactive. Unluckily blendMode is readonly. If we decide to recreate the pass on blendMode changes, I'd suggest we do it in a seperate branch/ticket, since this affects other effects too.