Advertisement
Guest User

Untitled

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