Replies: 1 comment
-
I made an example to show - interestingly it looks like the built site does have lights, whereas the test site does not. See the example here: https://github.com/amcc/react-three-mind-video When i run the site from the start script I have a bunch of warnings - these seem relevant to what i'm seeing. I think its due to updates in threejs:
here's my app.js: |
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
-
I have added a videoTexture with drei's useVideoTexture and it works great. This meant installing drei as a dependency.
This appears to stop the lighting working - i'm not sure why. In order to test i did the following:
Took your image-tracking example, installed drei, things still worked initially, but i removed node-modules and package-lock.json and reinstalled and the lighting stopped working.
The reason for the clean install as above is that my full videoTexture version has various warnings and erros that wouldn't go away without a full reinstall. This problem is very likely down to some naievety of mine, i'm fairly new to three/react-three-fiber. Thanks for the amazing work on this already.
Beta Was this translation helpful? Give feedback.
All reactions