-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom parameters for ShaderToys and custom textures #181
Comments
Dakotys
changed the title
Custom parameters for ShaderToys
Custom parameters for ShaderToys and custom images
May 11, 2024
Dakotys
changed the title
Custom parameters for ShaderToys and custom images
Custom parameters for ShaderToys and custom textures
May 11, 2024
code i use inside the user-javascript extension:
|
Do I understand correctly that you are cheating CORS in Response? Epic. |
kk, could you make a pull request? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For some reason Shader Toys hasn't been updated for some time and is lacking a lot of features.
I made a snippet code that reads parameters defined in Common tab and expands Shader Toys capabilities based on them.
So far I was only in need of custom images, so that is the first thing I implemented. Now its possible to add images from URL and also base64 encoded images.
Check this shader and also it's Common tab.
And run this code:
In the mean time anyone interested in including own images in shaderToys can use this extension and let it run the above mentioned script.
Just add a comment anywhere inside Common tab that is in code block ( /* */ )
and on the second line has line " shadertoy-plugin parameters " and follows by json. Check this shader for more info.
I know it was mentioned before, but not implemented. #101
The text was updated successfully, but these errors were encountered: