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
License
  • MIT
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


Patches using ClampTexture

  • Examples
  • Public
  • My Patches

Changelog


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