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

ColorMapRange Op


Op author: pandur

Test Patches: 1 Test

Map the range of color number values to another


render (Trigger)

Input Range

Old Min (Number)
Old Max (Number)

Output Range

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


trigger (Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

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).

Patches using ColorMapRange

  • Examples (1)
  • Public
  • My Patches


cloned op from Ops.Gl.TextureEffects.BrightnessContrast
2022-05-09 - pandur
Ops.User.pandur.ColorMapRange renamed to Ops.Gl.TextureEffects.ColorMapRange
2022-05-09 - pandur
set shaderdefines on op load
2022-07-08 - stephan
renameOps.Gl.TextureEffects.ColorMapRange renamed to Ops.Gl.TextureEffects.Math.ColorMapRange
2023-06-05 - pandur