Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 934 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 934 Bytes

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.