Skip to main content

blendLuminosity: HSV Channel Isolation

Hue-Saturation Preservation System

Luminosity blending isolates and replaces brightness values while maintaining color identity through HSV color space manipulation. Base colors contribute hue and saturation components; blend colors provide only luminance data for final composition.

HSVresult=(Hbase,Sbase,Vblend)HSV_{result} = (H_{base}, S_{base}, V_{blend})
ComponentSourceDescription
HueBaseColor wheel position preserved
SaturationBaseColor intensity maintained
ValueBlendBrightness replaced completely
Live Editor
const fragment = () => {
      const hueBase = vec3(uv.x, 0.9, 0.8)
      const lumBlend = vec3(0.5, 0.5, uv.y.oneMinus())
      const color = blendLuminosity(
              hsv2rgb(hueBase),
              hsv2rgb(lumBlend)
      )
      return vec4(color, 1)
}