/intro-to-webGL-and-shaders

Online OTS course for (guess what) webGL and shaders

Primary LanguageJavaScript

Intro to WebGL and shaders

Always wanted to know more about the GPU pipe line, shader & webGL but too afraid to ask? Be afraid no more, you're at the right place.

Todo

  • Avoir une seul func2, avec parametre optionels
  • Highlight du code, meme dans un paragraphe (genre fond noir, et possiblement coloration syntaxique)
  • log about 3D mesh
  • log about lighting
  • Speak more about translation, rotation, projection, matrices and stuff
  • advanced shaders
  • Test if it makes sense to offer random values and for loops in the creation of shape in order to have more generative (and fun) results
  • check https://github.com/KhronosGroup/WebGL/blob/master/sdk/demos/webkit/resources/J3DI.js
  • Preciser les variations dans les suffixes de fonction, genre uniformMatrix4fv
  • Don't speak much about quad (but just about triangle, and let them generalise)
  • check if multiple VBO or just one with all info in