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

ClampTexture Op

ClampTexture

Clamps a texture to min and max values - Also has remap modes


Modes:
Clamp - Clamps a texture to the min and max values
Remap - Linear remapping to the min and max values
Remap smooth - Smoothstep remapping to the min and max values


Edit Documentation

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


 

Example Patch ClampTexture example

Clamps a texture between the min and max values.
Also has a linear remap mode and a smoothstep remap mode.

Open In Editor

INPUT PORTS


render (Trigger)

Trigger the op

Blend Mode index (Number:integer )

Blending

Amount (Number)

Blending amount

Mode index (Number:integer )
Min (Number)

Min value

Max (Number)

Max value

OUTPUT PORTS


trigger (Trigger)

Trigger out


Usages of ClampTexture

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


created opuser avatarandro - 2020-01-20
renameOps.Gl.TextureEffects.ClampTexture renamed to Ops.Gl.ImageCompose.ClampTextureuser avatarpandur - 2023-12-06