Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #@gui Neon : fx_neon, fx_neon_preview(0)
- #@gui : note = note("Turns image outlines into bright, neon-like lines.")
- #@gui : sep = separator(), note = note("Gradient norm")
- #@gui : 1. Smoothness = float(0,0,10)
- #@gui : 2. Linearity = float(0.45,0,1.5)
- #@gui : 3. Min threshold = float(40,0,100)
- #@gui : 4. Max threshold = float(60,0,100)
- #@gui : 5. Negative = bool(0)
- #@gui : 6. Opacity = float(1,0,1)
- #@gui : 7. Saturation = float(1.15,0,4)
- #@gui : 8. Blur original = float(2,0,20)
- #@gui : sep = separator(), note = note("Colour Glow 1")
- #@gui : 9. Size = float(20,0,100)
- #@gui : 10. Intensity = float(0.4,0,3)
- #@gui : 11. Darken = float(0.1,0,1)
- #@gui : 12. Saturation = float(2.25,0,4)
- #@gui : sep = separator(), note = note("Colour Glow 2")
- #@gui : 13. Size = float(5,0,100)
- #@gui : 14. Intensity = float(0.2,0,3)
- #@gui : 15. Darken = float(0.1,0,1)
- #@gui : 16. Saturation = float(2.25,0,4)
- #@gui : sep = separator(), note = note("Boost Glow")
- #@gui : 17. Size = float(2,0,5)
- #@gui : 18. Intensity = float(1,0,2)
- #@gui : sep = separator()
- #@gui : 19. Alpha = bool(0)
- fx_neon :
- to_rgb rgb2hsl s c
- *.. {$7^2.5}
- a[0-2] c hsl2rgb
- if $6
- +fx_gradient_norm ${1-5}
- if $8
- b.. $8
- fi
- blend multiply,$6
- fi
- +b[0] $9,1 *[1] {$10*sqrt($9)} -[1] {(($10*sqrt($9)*128)-1)^(sqrt($11))}
- +b[0] $13,1 *[2] {$14*sqrt($13)} -[2] {(($14*sqrt($13)*128)-1)^(sqrt($15))}
- +b[0] $17,1 *[3] {($10+$14)*$17*$18}
- rgb2hsl[1-3] s[1-3] c
- *[2] {$12^2.5}
- *[5] {$16^2.5}
- *[8] 0
- a[1-3] c a[2-4] c a[3-5] c hsl2rgb[1-3]
- blend add,$6
- if $19
- rgb2cmyk s c a[0-2] c invert_rgb a c
- fi
- fx_neon_preview :
- fx_neon $*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement