hi everyone

so i really liked this lang, and it reminded me of shaders (also on shadertoy 
you can even do sound in glsl, which i tried once, but it was too difficult)
i wonder if it's possible to somehow compile it to glsl, either for graphics or 
sound

the default simpel shadertoy glowing gradient shader could be written in 
something like this:
process(x, y, uniform) = chnl(0+uvx), chnl(2+uvy), chnl(4+x), 1 with {chnl(k) = 
0.5 + 0.5*cos(uniform.iTime+k); uvx = x/uniform.iResolution.x; uvy = 
uniform.iResolution.y;};

i saw faust can compile to wasm, and there are some tools to convert wasm to 
spir-v, and some that do spir-v to glsl. would this work?

(by the way i'm a n00b at computer graphics, shadertoy and gtk are pretty muc h 
the only things i have some usable knowledge about)


_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to