This demo shows a texture-mapping of a flag onto half a THREE.Sphere. There will be a checkbox to toggle wireframe mode.
THREE.Sphere