[edit] readme.

This commit is contained in:
yoichi kobayashi 2016-12-27 01:02:07 +09:00
parent f5e06688af
commit 9c63edd10c

View File

@ -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);