/webgl-shader-examples

Some simple examples of WebGL shaders

Primary LanguageJavaScriptGNU Lesser General Public License v3.0LGPL-3.0

WebGL shader examples

Some simple examples of WebGL shaders. They can be seen live at webgl-shaders.com.

Build the project

Install Node.js (for Ubuntu):

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

Install grunt, glslify and budo globally:

sudo npm install -g grunt-cli
sudo npm install -g glslify
sudo npm install -g budo

Download the git repository and install the dependencies:

git clone https://github.com/jagracar/webgl-shader-examples.git
cd webgl-shader-examples
npm install

Build the project:

grunt

Run budo:

budo --dir WebContent/ --live

Then open http://localhost:9966/ to test the examples.