Skip to content

WebGL Mesh specular & glossiness maps

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

FarhadG/famous-webgl-specular

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 --> 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

About

WebGL Mesh specular & glossiness maps

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published