Home

Awesome

Shader School

NPM NPM

An introduction to GLSL shaders and graphics programming that runs in your web browser.

shader-school

Running this thing

First, you need to get a browser with WebGL, as well as a copy of node.js and git. Once you have all of that set up, you can install the workshop using npm, which is included with node:

npm install -g shader-school

After that completes, you should be able to run the workshopper with the command:

shader-school

The script will ask you if you want to create an answer directory, press y to accept. This will populate your current directory with shader files for you to edit for each lesson – hopefully, it should also automatically open your web browser but if it doesn't you can find the workshop menu on http://localhost:12492/.

Stuck?

Feedback and criticism is welcome, please log your troubles in issues. The workshop is still being worked on but is very close to being complete!

Full curriculum reviews like this one are very helpful. More feedback like this please!

Contributors

<table><tbody> <tr><th align="left">Mikola Lysenko</th><td><a href="https://github.com/mikolalysenko">GitHub/mikolalysenko</a></td><td><a href="http://twitter.com/mikolalysenko">Twitter/@mikolalysenko</a></td></tr> <tr><th align="left">Hugh Kennedy</th><td><a href="https://github.com/hughsk">GitHub/hughsk</a></td><td><a href="http://twitter.com/hughskennedy">Twitter/@hughskennedy</a></td></tr> <tr><th align="left">Chris Dickinson</th><td><a href="https://github.com/chrisdickinson">GitHub/chrisdickinson</a></td><td><a href="http://twitter.com/isntitvacant">Twitter/@isntitvacant</a></td></tr> </tbody></table>

Color Scheme

color scheme

From left to right:

Screenshots

screenshot

screenshot

screenshot

screenshot

screenshot