mattdesl / webgl-wireframes
- понедельник, 25 сентября 2017 г. в 03:15:24
Stylistic Wireframe Rendering in WebGL
This is the code for a November 2017 net magazine tutorial, Stylized Wireframe Rendering in WebGL. Check out the article (when it's released) for more details.
The code here uses barycentric coordinates to create stylized wireframes in ThreeJS and WebGL. Some features of the code and its shaders include:
Click here to see a live demo.
To build & run this project locally, first clone the repository, then use npm to install and run it:
npm install
npm start
Now open localhost:9966
to see it in your browser.
To build:
npm run build
The technique here is just one approach to wireframe rendering. You may find these other articles interesting:
MIT, see LICENSE.md for details.