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

LensScratches_v2 Op

LensScratches

Creates a procedural texture simulating scratches on a lens


A big thank you to Tropical Trevor for allowing us to use the code.
Original shader : https://www.shadertoy.com/view/4syXRD


Edit Documentation

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


 

INPUT PORTS


render (Trigger)

Trigger in

Blending

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

Blending amount

Alpha Mask index (Number:integer )
Offset X (Number)

offset X

Offset Y (Number)

offset Y

Wavyness (Number)

adds curves to lines

scale (Number)

Scale of scracthes

Layers (Number:integer )

Iterations of layers to draw

AA iterations (Number)

1 is default (no AA) 4 is a good number. Can be expensive

Frequency (Number)

Frequency of lines

Frequency step size (Number)

Step size between frequency of lines

OUTPUT PORTS


trigger (Trigger)

Trigger out


Usages of LensScratches_v2

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


created opuser avatarandro - 2019-12-10
cloned op from Ops.Gl.TextureEffects.LensScratchesuser avatarpandur - 2022-05-05
Ops.User.pandur.LensScratchesV2 renamed to Ops.Dev.LensScratchesV2user avatarpandur - 2022-05-05
Ops.Dev.LensScratchesV2 renamed to Ops.Gl.TextureEffects.LensScratches_v2user avatarpandur - 2022-05-23
renameOps.Gl.TextureEffects.LensScratches_v2 renamed to Ops.Gl.ImageCompose.LensScratches_v2user avatarpandur - 2023-12-06