mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-15 02:01:05 +00:00
larry babby and threejs for glsl
This commit is contained in:
38
webGl/my-threejs-test/node_modules/glsl-resolve/README.md
generated
vendored
Normal file
38
webGl/my-threejs-test/node_modules/glsl-resolve/README.md
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# glsl-resolve [](https://flattr.com/submit/auto?user_id=hughskennedy&url=http://github.com/hughsk/glsl-resolve&title=glsl-resolve&description=hughsk/glsl-resolve%20on%20GitHub&language=en_GB&tags=flattr,github,javascript&category=software)[](http://github.com/hughsk/stability-badges) #
|
||||
|
||||
A wrapper for the [resolve](https://github.com/substack/node-resolve) module
|
||||
that targets GLSL shaders instead of JavaScript.
|
||||
|
||||
## Usage ##
|
||||
|
||||
[](https://nodei.co/npm/glsl-resolve)
|
||||
|
||||
The API is equivalent to *resolve* for both `resolve.async` and `resolve.sync`,
|
||||
with the following exceptions:
|
||||
|
||||
* Node's core modules are excluded.
|
||||
|
||||
* The "main" file for a module is looked for first in a package.json's `glslify`
|
||||
property, then if `main` isn't a JavaScript file it'll look there too.
|
||||
Otherwise, it will default to trying `index.glsl`.
|
||||
|
||||
* Listed in order of priority, the following extensions are resolved instead of
|
||||
`.js` and `.json`:
|
||||
|
||||
* `.glsl`
|
||||
* `.vert`
|
||||
* `.frag`
|
||||
* `.geom`
|
||||
* `.vs`
|
||||
* `.fs`
|
||||
* `.gs`
|
||||
* `.vsh`
|
||||
* `.fsh`
|
||||
* `.gsh`
|
||||
* `.vshader`
|
||||
* `.fshader`
|
||||
* `.gshader`
|
||||
|
||||
## License ##
|
||||
|
||||
MIT. See [LICENSE.md](http://github.com/hughsk/glsl-resolve/blob/master/LICENSE.md) for details.
|
||||
Reference in New Issue
Block a user