[edit] readme.
This commit is contained in:
parent
f5e06688af
commit
9c63edd10c
19
README.md
19
README.md
@ -1,18 +1,19 @@
|
|||||||
# glsl-convert-color
|
# glsl-util
|
||||||
|
|
||||||
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
|
## install
|
||||||
|
|
||||||
```
|
```
|
||||||
npm i git://github.com/ykob/glsl-convert-color.git
|
npm i git://github.com/ykob/glsl-util.git
|
||||||
```
|
```
|
||||||
|
|
||||||
## usage
|
## convertHsvToRgb and convertRgbToHsv
|
||||||
|
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
|
||||||
|
|
||||||
|
### usage
|
||||||
|
|
||||||
```
|
```
|
||||||
#pragma glslify: convertHsvToRgb = require(glsl-convert-color/convertHsvToRgb);
|
#pragma glslify: convertHsvToRgb = require(glsl-convert-color/convertHsvToRgb);
|
||||||
|
Loading…
Reference in New Issue
Block a user