gtxcolor_space (functions)
glm::hsvColor( ... )
glm::vec3 glm::hsvColor(const glm::vec3 &rgbValue=P)Converts a color from RGB color space to its color in HSV color space.
See also: gtx_color_space
glm::luminosity( ... )
T glm::luminosity(const glm::vec3 &color=P)Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals.
See also: gtx_color_space
glm::rgbColor( ... )
glm::vec3 glm::rgbColor(const glm::vec3 &hsvValue=P)Converts a color from HSV color space to its color in RGB color space.
See also: gtx_color_space
glm::saturation( ... )
glm::vec3 glm::saturation(const T s, const glm::vec3 &color=P)Modify the saturation of a color.
See also: gtx_color_space
glm::saturation( ... )
glm::vec4 glm::saturation(const T s, const glm::vec4 &color=P)Modify the saturation of a color.
See also: gtx_color_space