Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Famous WebGL Specular Lighting

Implementation for showcasing WebGL Mesh specular & glossiness

Build Status Dependency Status devDependency Status

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 --> http://slack.famous.org/signup

Join the discussion --> http://slack.famous.org/

There is a bunch of learning material at --> http://famous.org/learn

There are api docs at --> http://famous.org/docs

Do you think this readme needs work? So do we! Feel free to send a PR!!!


###LICENSE

MIT

About

WebGL Mesh specular & glossiness maps

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages