Cusotm Shaders Variables

81 views
Skip to first unread message

George Davies

unread,
Apr 23, 2024, 10:16:08 AM4/23/24
to Enttec LED Mapper
Hello,

What are the variables available for custom shaders? Is it possible to add our own / set input ranges and precision?

Regards

George

Mathieu Lightjams

unread,
Apr 26, 2024, 3:11:58 PM4/26/24
to Enttec LED Mapper
Hi,

There's no official doc or support for the shaders of the eye candy effects. However, you can look at the existing shader files located in the folder C:\ProgramData\ELM\shaders. They are text files. You'll see the different variables. You should avoid modifying the existing files and duplicate a file instead and edit this new file.

For the variable name, range and precision, they are fixed. It's up to the shader to rescale the values as needed.

George Davies

unread,
Apr 30, 2024, 5:37:34 AM4/30/24
to Enttec LED Mapper
Hi Mathieu,

Thanks very much for the info. 

For anyone interested theres also this resouce from Enttec which gives a few pointers:

Joe Tremble

unread,
Jul 21, 2024, 10:43:28 AM7/21/24
to Enttec LED Mapper
After checking out the Enttec link you listed, I tried a couple of audio .frag files from shadertoy.com and both of them just "sat" there when I tried to run audio through them.
I get it... no guarantees that these would work, but it would be great if we could put together a list of audio responsive shaders that work with ELM.

A few years back I had a huge zip file full of shaders that all worked with ELM (if I remember correctly, they each even had a thumbnail .jpg for each). 
I am not even sure where I got them. I went looking for them the other day and have yet to figure out what I did with them. 

Any help creating an "expansion pack" would be great. 

Thanks, 

A

unread,
Jul 21, 2024, 11:47:29 AM7/21/24
to Enttec LED Mapper
Hi Joe,

I'm not software support for ELM but i can tell you a few things. Shadertoy scripts dont use the same audio input in the code. You need to find "iChannel" which is either iChannel0/1/2/3 in the code and replace it with what ELM uses which is FFT??? i can't remember what it is but look at audio triggered shaders in ELM and find the input (i use notepad++ on windows).

Its not to do with guarantees its that its all just code files and shadertoy is just randoms making stuff on the internet. ELM is just a render engine the code has to be right for it.

I agree more shaders would be amazing from ELM and i've started this thread to see if anyone is building them for this reason

Thanks

Alastair

Mathieu Lightjams

unread,
Jul 22, 2024, 1:30:03 PM7/22/24
to Enttec LED Mapper
Hi,

Maybe a good way to start would be to post the links of the shaders you like from shader toy (https://www.shadertoy.com/) or other websites. Then they might be included in the next version.

Reply all
Reply to author
Forward
0 new messages