Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
How to use Shadertoy visualizations from shadertoy.com?
#1
Specifically, the ones that seem to have multiple source files, like this: https://www.shadertoy.com/view/4tGfDW

I tried putting all of the code into a single .glsl file and pointing the music visualization addon to the file, but it doesn't work at all.

If I use this same method with other shaders from that same site (especially when they only seem to have one source file), they sometimes work but are kind of buggy.

The ones that come with the visualization addon work correctly.

Thanks
Reply
#2
The add-on has some shortcomings.

I'm pretty sure that it has no support for buffers, so you can't use the toy you've linked. Last time I've dabbled with it, the FFT implementation was different. And also, Angle might introduce issues if your are on Windows. The performance detection is also very flawed, leading to a pause on init, as well as sporadic low resolution output.
Reply
#3
(2024-06-04, 11:16)sarbes Wrote: The add-on has some shortcomings.

I'm pretty sure that it has no support for buffers, so you can't use the toy you've linked. Last time I've dabbled with it, the FFT implementation was different. And also, Angle might introduce issues if your are on Windows. The performance detection is also very flawed, leading to a pause on init, as well as sporadic low resolution output.

Thank you for the insight. It's a shame that these features are not likely to get implemented (based on the activity in the Github repo, anyway). Many of those shaders are very nice to look at and blow anything else that is available for Kodi out of the water in my opinion.
Reply
#4
Many of those shaders won't run well on the average Kodi device. Especially those with multiple buffers are bad for performance.

For me, there is no incentive to get such shaders running, as I have no player hardware capable of displaying them. My matrix visualization is based on the Shadertoy add-on, but I took extra care in having a good frame rate, even on very low end platforms (like a Raspberry Pi 1).
Reply

Logout Mark Read Team Forum Stats Members Help
How to use Shadertoy visualizations from shadertoy.com?0