Skip to content
Some simple examples of WebGL shaders
JavaScript HTML GLSL CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
WebContent Adds first version of the Alien sphere example Feb 22, 2019
html Adds first version of the Alien sphere example Feb 22, 2019
sass Adds toon and edge examples Oct 9, 2018
shaders
.gitignore Changes the structure, but the shaders code remains the same Sep 29, 2018
.project General structure May 22, 2018
Gruntfile.js
LICENSE Initial commit May 22, 2018
README.md
package.json Last update of the stippling example Nov 30, 2018

README.md

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.

You can’t perform that action at this time.