HSL Color Model Decomposition in Blender
In the current version, Blender contains decomposition nodes only for HSV and RGB color models, but still missing nodes for HSL color model. Since I find the HSL model very useful for color manipulations, especially its lightness value, I've created both Separate HSL and Combine HSL nodes, which enables me to modify each part of the HSL model.
Both HSL and HSV(HSB) models represent a color in cylindrical coordinates. HSL stands for hue, saturation, and lightness, while HSV(HSB) stands for hue, saturation, and value(brightness). So, the difference is in representation of lighter/darker tones as visible from the picture.
HSL Nodes for Cycles Render
Basically we need to create two custom nodes. One for separating the input color into 3 parts of the HSL model, and another node for combining these parts into the color output.
Separate HSL Node
Because of the fact Blender already contains HSV nodes, we can use conversion from HSV to HSL model:
This is how it looks like implemented in Blender's node editor using its essential nodes.
Time for some procedurally generated art :)
Recently, I have played with procedurally generated patterns like Voronoi diagram. I connected them together and used that pattern to modify the saturation and lightness value of the HSL color model.
And finally, you can see what I've received :)
- References
- Here you can download my HSL nodes - http://www.blendswap.com/blends/view/78846
- HSL and HSV
- Voronoi diagram
Comments
Comments powered by Disqus