Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/ao-shader
Ambient occlusion shader for ao-mesher
https://github.com/mikolalysenko/ao-shader
Last synced: about 2 months ago
JSON representation
Ambient occlusion shader for ao-mesher
- Host: GitHub
- URL: https://github.com/mikolalysenko/ao-shader
- Owner: mikolalysenko
- License: mit
- Created: 2013-06-30T23:59:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-09T17:44:11.000Z (over 8 years ago)
- Last Synced: 2024-10-20T14:28:18.178Z (2 months ago)
- Language: JavaScript
- Homepage: http://mikolalysenko.github.io/ao-shader/index.html
- Size: 207 KB
- Stars: 22
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ao-shader
=========
Shader for use with ao-mesher.## Example
[Check it out in your browser.](http://mikolalysenko.github.io/ao-shader/index.html)
To run the example locally
npm install && npm start
## Install
npm install ao-shader
### `var shader = require("ao-shader")(gl)`
Creates a shader in the WebGL context.* `gl` is the WebGL context to create the shader in
**Returns** A `GLShader` object which wraps a WebGL program
#Credits
(c) 2013 Mikola Lysenko. MIT License