Post-processing(selective bloom) with instance mesh and Anaglyph #523
rachet-khanal
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, this is a two part question:
Am trying to follow a sample code of r3f for selective blooming. But have changed the code to use the sample of instance mesh instead. But this ends in error 'isInterleavedBufferAttribute' of undefined. A quick fix to this is adding an empty mesh above the instanced mesh. Could some one help understand why this is happening? Link:
https://codesandbox.io/s/r3f-selective-bloom-lw63z?file=/src/index.js
Am also trying to render an anaglyph effect with the effectComposer which has its own render as well. The code is same as above with addition of a light sphere. I can't find the tutorial in normal threejs either. So am not sure if this is possible at all.
Possible solution direction for question 2:
https://stackoverflow.com/questions/31248397/three-js-combining-stereoeffect-with-fxaa-shaderpass/35120643
Beta Was this translation helpful? Give feedback.
All reactions