beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ColorMapRange Op

ColorMapRange

Map the range of color number values to another



Edit Documentation

Full Name
  • Ops.Gl.ImageCompose.Math.ColorMapRange
Visibility
  • Core Op - Official cables op
AuthorTest Patches


 

Example Patch Color Map Range

Color Map Range op allows you to remap pixel color values in textures from one range to another and to do so selectively per color channel, including Alpha. (RGBA).

Open In Editor

INPUT PORTS


render (Trigger)

Input Range

Old Min (Number)
Old Max (Number)

Output Range

New Min (Number)
New Max (Number)
Clamp (Number:boolean )
R (Number:boolean )
G (Number:boolean )
B (Number:boolean )
A (Number:boolean )

OUTPUT PORTS


trigger (Trigger)

Usages of ColorMapRange

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


cloned op from Ops.Gl.TextureEffects.BrightnessContrastuser avatarpandur - 2022-05-09
Ops.User.pandur.ColorMapRange renamed to Ops.Gl.TextureEffects.ColorMapRangeuser avatarpandur - 2022-05-09
set shaderdefines on op loaduser avatarstephan - 2022-07-08
renameOps.Gl.TextureEffects.ColorMapRange renamed to Ops.Gl.TextureEffects.Math.ColorMapRangeuser avatarpandur - 2023-06-05
renameOps.Gl.TextureEffects.Math.ColorMapRange renamed to Ops.Gl.ImageCompose.Math.ColorMapRangeuser avatarstephan - 2023-12-06