ClampTexture_v2 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


Full Name
  • Ops.Gl.ImageCompose.ClampTexture_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


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

Blending

Blend Mode index (Number: integer)
Amount (Number)

Blending amount

Mode index (Number: integer)

Red

R (Number: boolean)
R Min (Number)
R Max (Number)

Green

G (Number: boolean)
G Min (Number)
G Max (Number)

Blue

B (Number: boolean)
B Min (Number)
B Max (Number)

OUTPUT PORTS


trigger (Trigger)

Trigger out


Patches using ClampTexture_v2

  • Examples
  • Public
  • My Patches

Changelog


newcreated opuser avatarandro - 2020-01-20 16:38
featureAdd clamp paramegters for RGB color channelsuser avatarpandur - 2024-04-22 14:20