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

LensScratches_v2 Op

Ops.Gl.TextureEffects.LensScratches_v2


LensScratches

Op author: andro

Test Patches: 1 Test

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



Inputs

render (Trigger)

Trigger in

Blending

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

Blending amount

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

offset X

Offset Y (Number)

offset Y

Wavyness (Number)

adds curves to lines

scale (Number)

Scale of scracthes

Layers (integer /Number)

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

Outputs

trigger (Trigger)

Trigger out

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

LensScratches example

Open Example In Editor

Patches using LensScratches_v2

Changelog


created op
2019-12-10 - andro
cloned op from Ops.Gl.TextureEffects.LensScratches
2022-05-05 - pandur
Ops.User.pandur.LensScratchesV2 renamed to Ops.Dev.LensScratchesV2
2022-05-05 - pandur
Ops.Dev.LensScratchesV2 renamed to Ops.Gl.TextureEffects.LensScratches_v2
2022-05-23 - pandur