0beqz / screen-space-reflections

Implements Screen Space Reflections in three.js
https://screen-space-reflections.vercel.app/
MIT License
550 stars 44 forks source link

Selection is not working for me #23

Open GrikFreak opened 1 year ago

GrikFreak commented 1 year ago

Hi, i'm having this issue. I set the selection of my pass, but ssr is applied in all scene. Maybe i'm writing something wrong:

const sel = new POSTPROCESSING.Selection(ssrSelections)
ssrEffect.selection.set(sel)

Where ssrSelections is an array of meshes. Someone can help me, thank you!