Selectively excluding meshes from effectpass
See original GitHub issueHi, great library. I have spent a while now scouring through documentation in an attempt to exclude a certain mesh from being affected by an effect. This is due to the fact that we use shadowplanes for shadows, eg actual meshes with texture, and this messes up the look of many effects.
Is this possible with this library? I have tried both implementations using SavePass
and layers as well as multiple render passses. The only option that i have left is to try to render two scenes and only apply the post processing to one of them, however I’d like to avoid that for performance reasons if possible.
Bellow is a sample of my attempt at following the advice seen in issues #295 and #229
This however does not seem to work as the effect gets applied to the whole scene.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Thanks a lot! That is exactly what i was looking for.
Sorry for the delay, here’s an example where noise is applied to one object: https://codesandbox.io/s/quirky-albattani-khdqq?file=/src/App.js