Example "Inter, epoxy resin" throws errors when using MeshRefractionMaterial from drei #2621
Unanswered
ThomasRutzer
asked this question in
Q&A
Replies: 1 comment
-
It seems like "MeshRefractionMaterial" works only on convex objects, meaning it will not work with complex objects like letters, or anything not spherical-like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, in the codesandbox the example still uses a local version of MeshRefractionMaterial. If you replace this by the one of the drei package, you get the error "MeshBVHUniformStruct: Multi-root BVHs not supported." Would be nice if someone with a better knowledge than me could help to fix the sandbox (since I expect it should use the drei-version anyways). Thank you all!
Beta Was this translation helpful? Give feedback.
All reactions