LensScratches_v2 Op
Creates a procedural texture simulating scratches on a lens
Summary (oneliner)
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
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch LensScratches example
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
Changelog
created op | andro - 2019-12-10 18:16 | |
cloned op from Ops.Gl.TextureEffects.LensScratches | pandur - 2022-05-05 11:28 | |
Ops.User.pandur.LensScratchesV2 renamed to Ops.Dev.LensScratchesV2 | pandur - 2022-05-05 11:29 | |
Ops.Dev.LensScratchesV2 renamed to Ops.Gl.TextureEffects.LensScratches_v2 | pandur - 2022-05-23 08:23 | |
rename | Ops.Gl.TextureEffects.LensScratches_v2 renamed to Ops.Gl.ImageCompose.LensScratches_v2 | pandur - 2023-12-06 10:34 |