Open y4my4my4m opened 4 years ago
how do you import them from shadertoy.com?
@TheCorruptCat you simply copy the URL into the shader path or just the "id" of the shadertoy Note: this doesnt work for shaders with buffers!
into the shader path
but where is the shader path? it isn't in the GUI, and i don't even see it in the main.xml or config.xml
@thembees this is only for Plasma5 version, but I do mean in the actual configuration GUI
You simply put the URL of the shadertoy.com you want to use, or it's ID.
Be aware that this only works for shaders not using buffers!
Test it with this one for example: https://www.shadertoy.com/view/4td3zj Copy paste that into the path and then press enter and/or apply.
*You are correct that it should be much clearer though!
Oh thank you, i'm on plasma6 so that's why I didn't see it!
Oh thank you, i'm on plasma6 so that's why I didn't see it!
yeah, plasma6 doesn't support shadertoy import as of yet as shaders need to be compiled. I'm planning to have an automatic convert/processor/compiler tool though.
I am trying to manually compile a shader from shadertoy but I am having trouble with the global variables. How do you handle them for Spirv?
Edit: Nevermind, I was trying to manually compile them using qsb but I saw now the python scripts
Should instruct how to import, give user feedback for loading/errors.