I can’t for the life of me find any documentation on UV mapping. I understand the concept, but there’s no docs on what’s the syntax to apply one. I found references to faceVertexUvs, but it was removed. In the repo there’s one file still mentioning it (three.js/threejs.js at 3daf128f34da9cdb1e339766a4aae21b5989f131 · mrdoob/three.js · GitHub) which is really confusing.
There’s a nice guide on this, but no code that helps:
I’m generating the mesh vertices with code, but I don’t know where to put the uv coordinates.