Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #@gui Neon : fx_neon, fx_neon_preview(0)
- #@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)
- fx_neon :
- 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
- if {$9||$10}
- +b[0] $9,1 *. {$10*sqrt($9)} -. {(($10*sqrt($9)*128)-1)^(sqrt($11))}
- fi
- if {$13||$14}
- +b[0] $13,1 *. {$14*sqrt($13)} -. {(($14*sqrt($13)*128)-1)^(sqrt($15))}
- fi
- if {$17||$18}
- +b[0] $17,1 *. {($10+$14)*$17*$18*($7^3)}
- fi
- rgb2hsl[1,2] s[1,2] c
- *[2] {$12^2.5}
- *[5] {$16^2.5}
- a[1-3] c a[2-4] c hsl2rgb[1,2]
- blend add,$6
- fx_neon_preview :
- fx_neon $*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement