wlrfx / scenefx

A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects
MIT License
81 stars 8 forks source link

gradient support! #65

Closed ameliasquires closed 4 weeks ago

ameliasquires commented 1 month ago

added fx_render_pass_add_rect_grad, fx_render_pass_add_rounded_rect_grad, and fx_render_pass_add_rounded_grad_border_corner. all with associated shaders, structs, and linking functions.

all gradients support as many colors as you want (dynamic shader compilation), linear/conic variants, and rotation (in degrees)

WillPower3309 commented 1 month ago

This is huge! Thanks a ton for the PR. Feel free to ping me directly when it's ready for review

IDKnix commented 4 weeks ago

lets go it got merged