THREE.js generate UV coordinate
To my knowledge there is no automatic way to calculate UV. You must calculate yourself. Calculate a UV for a plane is quite easy, this site explains how: calculating texture coordinates For a complex shape, I don’t know how. Maybe you could detect planar surface. EDIT Here is a sample code for a planar surface … Read more