[mythtv-users] Seasonal theme experiments

Paul Harrison mythtv at mythqml.net
Thu Dec 10 19:05:05 UTC 2020


On 10/12/2020 15:29, Mark Kendall wrote:

> Afternoon all,
>
> I've been tinkering recently with the MythTV theme code with a view to
> seeing what functionality we could perhaps add for 0.32 - and
> hopefully generate some enthusiasm for new themes...
>
> Inspired by https://www.shadertoy.com/ I've added some procedural
> texture support (think computer generated art) to the UI code.
> Essentially this allows you to run custom OpenGL shaders embedded in
> the theme.
>
> The master version is available at:-
>
> https://github.com/mark-kendall/mythtv
>
> and I've backported to 0.31 as well:-
>
> https://github.com/mark-kendall/mythtv/tree/fixes/31
>
> Those versions have an updated MythCenter-wide theme where the
> background is replaced by a version of:-
>
> https://www.shadertoy.com/view/wdVBRm
>
> It's a little overwhelming as a theme background but demonstrates the
> possibilities well enough.
>
> I've also put together an update for the MythCenterXMAS-wide theme
> that adds a version of:-
>
> https://www.shadertoy.com/view/MdXcW8
>
> as an overlay on top of the background. So gently falling snow on top
> of your Christmas postcard:)
>
> You'll need to replace the base.xml for that theme with the version at:-
>
> https://gist.github.com/mark-kendall/3b4ebd919fd3f2abcaab65e6ce908d99
>
> For anyone familiar with GLSL shaders, the code is evaluated at
> runtime so you can freely tinker and play with the shaders to try
> different effects etc. The code has not been widely tested but the
> only potential issue is performance - I'm not really sure how the
> shaders will perform on older hardware (tested locally on AMD
> integrated graphics - vega 11).
>
> Enjoy!
>
> regards
> Mark
>
> (p.s. with all due credit to the original authors of those shaders on
> shadertoy.com)


Hi Mark,


This sounds really cool especially the snow effect.


Is that the correct  Gist? Not sure if I'm doing something stupid but I 
just tried it and it produces the same effect as the MythCenter-wide 
background. Definitely no snow :(


Paul H.



More information about the mythtv-users mailing list