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

ClampTexture Op

Ops.Gl.TextureEffects.ClampTexture


ClampTexture

Op author: andro

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


summary (oneliner)

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



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Trigger the op


Blend Mode index (integer /Number)

Blending

Amount (Number)

Blending amount


Mode index (integer /Number)

Min (Number)

Min value


Max (Number)

Max value


Outputs

trigger (Trigger)

Trigger out


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

ClampTexture example

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

Open Example In Editor


Patches using ClampTexture

Changelog


created op
2020-01-20 - andro