LensScratches_v2 Op

LensScratches

Creates a procedural texture simulating scratches on a lens


<p>A big thank you to Tropical Trevor for allowing us to use the code. Original shader : <a href="https://www.shadertoy.com/view/4syXRD">https://www.shadertoy.com/view/4syXRD</a></p>


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


INPUT PORTS


render (Trigger)

<p>Trigger in</p>

Blending

Blend Mode index (Number:

<i>integer</i>

)

Amount (Number)

<p>Blending amount</p>

Alpha Mask index (Number:

<i>integer</i>

)

Offset X (Number)

<p>offset X </p>

Offset Y (Number)

<p>offset Y </p>

Wavyness (Number)

<p>adds curves to lines</p>

scale (Number)

<p>Scale of scracthes</p>

Layers (Number:

<i>integer</i>

)

<p>Iterations of layers to draw</p>

AA iterations (Number)

<p>1 is default (no AA) 4 is a good number. Can be expensive</p>

Frequency (Number)

<p>Frequency of lines</p>

Frequency step size (Number)

<p>Step size between frequency of lines</p>

OUTPUT PORTS


trigger (Trigger)

<p>Trigger out</p>


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