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

stencil free shadows #44

Closed WillPower3309 closed 1 month ago

WillPower3309 commented 7 months ago

We could eliminate some complexity (and potentially gain some performance) if we try a shadow matte implementation - similar to hyprland's: https://github.com/hyprwm/Hyprland/blob/main/src/render/OpenGL.cpp#L1040-L1096

This would be dependent on neutral or positive rendering benchmark results

WillPower3309 commented 1 month ago

Implemented in https://github.com/wlrfx/scenefx/pull/61