y4my4my4m / kde-shader-wallpaper

KDE / Plasma - Shader Wallpaper plugin
GNU General Public License v3.0
247 stars 13 forks source link

Clearer instructions for Shadertoy.com import #16

Open y4my4my4m opened 4 years ago

y4my4my4m commented 4 years ago

Should instruct how to import, give user feedback for loading/errors.

TheCorruptCat commented 9 months ago

how do you import them from shadertoy.com?

y4my4my4m commented 9 months ago

@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!

thembees commented 7 months ago

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

y4my4my4m commented 7 months ago

@thembees this is only for Plasma5 version, but I do mean in the actual configuration GUI image

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!

thembees commented 7 months ago

Oh thank you, i'm on plasma6 so that's why I didn't see it!

y4my4my4m commented 7 months ago

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.

Steinardarri commented 4 weeks ago

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