This is a boilerplate project made for testing shaders in three.js. This is a copy of the threejs-boilerplate I clone when I want to test a new shader.
three.js will be updated upon every release.
-
Clone this repo
git clone git@github.com:olejrosendahl/threejs-boilerplate-shader.git
-
Delete the existing git repository by running
rm -rf .git
. -
Initialize a new git repository with
git init
,git add .
andgit commit -m "Initial commit"
. -
Run
python -m SimpleHTTPServer
to start the local web server. -
Go to
http://localhost:8000
and you should see the app running!
- three.js r72
- Use three.js r74
- Update viewport on window resize
- Use three.js r72
- Added three.js setup code and spinning cube animation and custom shader.