neovide
neovide copied to clipboard
[Feature] Support Skia Shaders for Cool Effects?
Is your feature request related to a problem? Please describe.
I was watching a nice video on YouTube:
They had a cool glow effect, that looks to be a post-process effect on the video... Making this effect normally just not possible... However, I saw that this project uses Skia and could whip up a sample shader to see if I can get this to work. I did, but it is hacked and I am compiling the shader on every frame, lol.
Describe the solution you'd like Maybe allow the user to store some sksl files in their user directory, like a .neovide_shaders folder or something... Then expose the setting as a config like you have?
Additional context Happy to take on this as a small project on the side, as I would like to get my feet wet more in graphics/rust. But just thought I'd see if you have any opinions before I really dig into making a full pr.
Here is my output, and I'll make a PR example soon.

#1671 That is the PR with the sample code, feel free to tell me any feedback.
Demo looks cool! It would be a nice addition to have some shaders for neovim, give it a cool-retro-term kindof look
I think it would be a good idea to precompile shaders rather than recompile every frame, if thats possible
Yeah, talked a bit with @MultisampledNight on some ideas on config. I might look into adding in a setting in the RendererSettings... But I need to take some time and see. Plus, not sure if to build some in source or what not... Just when I have time I might get to it.
Awakening this!
This will be much easier to support once we migrate to https://github.com/neovide/vide
But, it's still far from being ready and stable.