v1rtl

Results 452 comments of v1rtl

Is it still present with v2?

You can disable effects by using `blendFunction`: ```jsx import { SSAO } from 'react-postprocessing' import { BlendFunction } from 'postprocessing' return ( ) ```

@noamgat yep seems like a bug... if you know the fix pull requests are welcome :P

tbh I don't know, better ask @drcmda if u want to update ur effect conditionally, use `useLayoutEffect` hook like here: ```js useLayoutEffect(() => { if (depthTexture) { effect.setDepthTexture(depthTexture.texture, depthTexture.packing) }...

it breaks at the moment due to this: ``` Uncaught TypeError: camera.getWorldDirection is not a function update postprocessing.esm.js:4786 render postprocessing.esm.js:2378 render postprocessing.esm.js:2796 _c EffectComposer.tsx:65 render$1 react-three-fiber.esm.js:862 loop react-three-fiber.esm.js:884 loop react-three-fiber.esm.js:881...

[Updated your example](https://codesandbox.io/s/react-post-processing-single-item-yzryd?file=/src/index.js), looks like the issue is still relevant. Dunno the solution

not sure what you mean by layers

@njm222 welllll idk how to make rpp work with layers since I've never used them worth asking @drcmda

Added in 2a5a2c090c14ceeda50dc9c001e6c9a4cfa188a6 but not tried it yet anyone feel free to propose a demo with ``

@drcmda thanks, I'll use it as a reference to LUT example (and will replace with rpp code)