title: Ambient occlusion in threejs
body: <p>I've just finished porting of my first cloth simulation from opengl to webgl using three.js <a href="http://marky.pl/cloth/">(can be seen here)</a>.</p>
  
  <p>The thing is it looks a bit dull, and I want to add (as i hope i remember correctly from my computer graphics classes) ambient occlusion, to make the cloth nicely shaded on collision with ball. My knowledge about shaders is now on very low level, so I'd be very thankful for any resources on this topic helpful with three.js development (tutorials, book titles etc), because googles doesn't know anything about it.</p>
  
  <h2>Maybe some hints how to apply ambient occlusion?</h2>
  
  <p>So the shading is fixed thanks to WestLangley!
  Now back to the other questions: any helpful resources on shaders for threejs, or just hlsl in general?</p>