Advertisement
Guest User

Untitled

a guest
Sep 9th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. #@gui Neon : fx_neon, fx_neon_preview(0)
  2. #@gui : note = note("Turns image outlines into bright, neon-like lines.")
  3. #@gui : sep = separator(), note = note("Gradient norm")
  4. #@gui : 1. Smoothness = float(0,0,10)
  5. #@gui : 2. Linearity = float(0.45,0,1.5)
  6. #@gui : 3. Min threshold = float(40,0,100)
  7. #@gui : 4. Max threshold = float(60,0,100)
  8. #@gui : 5. Negative = bool(0)
  9. #@gui : 6. Opacity = float(1,0,1)
  10. #@gui : 7. Saturation = float(1.15,0,4)
  11. #@gui : 8. Blur original = float(2,0,20)
  12. #@gui : sep = separator(), note = note("Colour Glow 1")
  13. #@gui : 9. Size = float(20,0,100)
  14. #@gui : 10. Intensity = float(0.4,0,3)
  15. #@gui : 11. Darken = float(0.1,0,1)
  16. #@gui : 12. Saturation = float(2.25,0,4)
  17. #@gui : sep = separator(), note = note("Colour Glow 2")
  18. #@gui : 13. Size = float(5,0,100)
  19. #@gui : 14. Intensity = float(0.2,0,3)
  20. #@gui : 15. Darken = float(0.1,0,1)
  21. #@gui : 16. Saturation = float(2.25,0,4)
  22. #@gui : sep = separator(), note = note("Boost Glow")
  23. #@gui : 17. Size = float(2,0,5)
  24. #@gui : 18. Intensity = float(1,0,2)
  25. #@gui : sep = separator()
  26. #@gui : 19. Alpha = bool(0)
  27. fx_neon :
  28. to_rgb rgb2hsl s c
  29. *.. {$7^2.5}
  30. a[0-2] c hsl2rgb
  31. if $6
  32. +fx_gradient_norm ${1-5}
  33. if $8
  34. b.. $8
  35. fi
  36. blend multiply,$6
  37. fi
  38. +b[0] $9,1 *[1] {$10*sqrt($9)} -[1] {(($10*sqrt($9)*128)-1)^(sqrt($11))}
  39. +b[0] $13,1 *[2] {$14*sqrt($13)} -[2] {(($14*sqrt($13)*128)-1)^(sqrt($15))}
  40. +b[0] $17,1 *[3] {($10+$14)*$17*$18}
  41. rgb2hsl[1-3] s[1-3] c
  42. *[2] {$12^2.5}
  43. *[5] {$16^2.5}
  44. *[8] 0
  45. a[1-3] c a[2-4] c a[3-5] c hsl2rgb[1-3]
  46. blend add,$6
  47. if $19
  48. rgb2cmyk s c a[0-2] c invert_rgb a c
  49. fi
  50. fx_neon_preview :
  51. fx_neon $*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement