I want to insert a video in 3d Object to create a website like this. I have a 3d object in GLB format, but I don't know how to insert the video in 3d object. Any ideas?
1 Answer
Start by understanding how textures and UV mapping work on 3D meshes, then experiment with video textures using three.js VideoTexture
Or, if you’re working with React, Drei’s useVideoTexturehook to map an HTML video onto your GLB model.
2 Comments
Nikolaus
Welcome to Stack Overflow. Please do not only Link to examples, but insert the code snippets directly. If it's more complex, you could add a link in addition for sure. ;-)
Community
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.