[edit] append usage and more to readme.
This commit is contained in:
parent
6ff0bfa9b6
commit
f5e06688af
21
README.md
21
README.md
@ -1 +1,20 @@
|
||||
# glsl-convert-color
|
||||
# glsl-convert-color
|
||||
|
||||
this is the function that convetts RGB to HSV. or is its opposite.
|
||||
|
||||
## Quote source
|
||||
|
||||
http://lolengine.net/blog/2013/07/27/rgb-to-hsv-in-glsl
|
||||
|
||||
## install
|
||||
|
||||
```
|
||||
npm i git://github.com/ykob/glsl-convert-color.git
|
||||
```
|
||||
|
||||
## usage
|
||||
|
||||
```
|
||||
#pragma glslify: convertHsvToRgb = require(glsl-convert-color/convertHsvToRgb);
|
||||
#pragma glslify: convertRgbToHsv = require(glsl-convert-color/convertRgbToHsv);
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user