#Famous WebGL Specular Lighting
Implementation for showcasing WebGL Mesh specular & glossiness
Here's a simple DEMO showcasing an implementation of having WebGL and DOM events working together, with the same API. If you're interested in seeing this particular lighting model, here's an example with raw WebGL.
###Demo
There are four lights, rotating around randomly, emmitting a random color. The glossiness/specular attributes have been applied to the Backdrop.js
and Cube.js
files, which you can find within the src
directory.
Go ahead and give it a try: DEMO
###Installation
git clone https://github.com/FarhadG/famous-webgl-specular.git
cd famous-webgl-specular
# rm -rf .git && git init && git commit -m "Make it so" # optionally reset git history
npm i # install dependencies
###Development
Run the dev server with npm run dev
Now the dev server should be running on localhost:1618
Run the linters with npm run lint
Run All Tests with npm test
###Need help?
Please join us on the "famous-community" slack.
Sign up --> https://slack.famous.org/signup
Join the discussion --> https://slack.famous.org/
There is a bunch of learning material at --> https://famous.org/learn
There are api docs at --> https://famous.org/docs
Do you think this readme needs work? So do we! Feel free to send a PR!!!
###LICENSE
MIT