title: Three.js Map Texture to irregular Geometry (UW-Coordinates)
body: <p>I have a problem with mapping a texture in THREE.js which is possibly related to creating custom UV-Coordinates as extensive search indicates.</p>
  
  <p>The following picture shows a geometry which was created from THREE.BoxGeometry by manipulating the lower vertices of the box. The texture on the side looks stretched (although this is correct I guess). 
  <a href="https://i.stack.imgur.com/CbOdw.png" rel="nofollow noreferrer">picture1</a></p>
  
  <p>Is there a way of "projecting" the texture onto the side, e.g. by creating custom uv-coordinates to look like in the second (photoshopped) picture?
  <a href="https://i.stack.imgur.com/e1QjO.png" rel="nofollow noreferrer">picture2</a></p>
  
  <p>Thanks for you help!</p>