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

LensScratches_v2 Op



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 :


render (Trigger)

Trigger in


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


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


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