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

Fix skinnedmesh #12

Closed RenaudRohlinger closed 2 years ago

RenaudRohlinger commented 2 years ago

It seems that if there is a skinnedmesh ssr will break. I guess that's the issue.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
screen-space-reflections ✅ Ready (Inspect) Visit Preview Aug 8, 2022 at 0:27AM (UTC)
0beqz commented 2 years ago

Thanks, I'll look into the pr and fix it in the next release.

0beqz commented 2 years ago

It should be fixed now, the issue was that I forgot to set the right material: https://github.com/0beqz/screen-space-reflections/commit/de0ac1a7f3e41292369e5376440b7803c91f7ff6#diff-a5040d75280b2e8f228dfdb046db84e2a2ad6d242029ad44830181d111144a2cR55