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


Full Name
  • Ops.Gl.ImageCompose.LensScratches_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest 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


Patches using LensScratches_v2

  • Examples
  • Public
  • My Patches

Changelog


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