Shadertoy chrome extension
category: gfx [glöplog]
Hi.
I made a little Google Chrome extension for Shadertoy. I want to share it with You.
Chrome store
Main features are:
Source available on GitHub
I made a little Google Chrome extension for Shadertoy. I want to share it with You.
Chrome store
Main features are:
- Adjustable slider for full control of 'iGlobalTime' uniform and audio/video inputs.
- Switchable dark color theme.
- Change resolution in windowed and fullscreen mode by pressing keys 1...9.
- Pause/Restart in fullscreen mode.
- new fullscreen edit mode.
Source available on GitHub
Nice :)
Great idea, great implementation! Thank you!
That's great, I especially like the lowres buttons, to run these shaders fullscreen but with proper framerate.
♥
The dark theme alone is worth it to me! ;)
But the resolutions, fullscreen-edit and the time-slider also rule!
The dark theme alone is worth it to me! ;)
But the resolutions, fullscreen-edit and the time-slider also rule!
Hehe, I've made something similar but a lot more ugly and less functional :)
Feature request: ability to select constants and then have tweakable sliders for their value.
Feature request: ability to select constants and then have tweakable sliders for their value.
tasty gubbs!
♥
♥
Tweakable sliders are very cool
Some time ago I made a custom version of glslsandbox with sliders, and some save load/save functions to dropbox datastore api (now being deprecated...)
Some time ago I made a custom version of glslsandbox with sliders, and some save load/save functions to dropbox datastore api (now being deprecated...)
^^ PauloFalcao looks good! Something like that exactly! (I implemented a hacky version with terrible UX by parsing comments like that as well)
Thank You guys!
I think about adding sliders but I have no good idea which of the existing uniforms could be used. The most reasonable for me is vec4 iMouse with on/off switch. ( 4 sliders )
Also, there is also possibility to pass extra uniform values like on the screen above but all shaders must run exactly the same way without this extension and can't confuse Shadertoy community.
Quote:
Feature request: ability to select constants and then have tweakable sliders for their value.
Quote:
Tweakable sliders are very cool
I think about adding sliders but I have no good idea which of the existing uniforms could be used. The most reasonable for me is vec4 iMouse with on/off switch. ( 4 sliders )
Also, there is also possibility to pass extra uniform values like on the screen above but all shaders must run exactly the same way without this extension and can't confuse Shadertoy community.
Patu, about sliders in shadertoy probably it was better something like http://editor.thebookofshaders.com/ where you can tweak / slide values directly in the code.
@PauloFalcao: Awesome feature!
Quote:
Patu, about sliders in shadertoy probably it was better something like http://editor.thebookofshaders.com/ where you can tweak / slide values directly in the code.
Looks great!
The only problem is the performance. Every value change triggers shader compile operation.
It doesn't hurt when shaders are short, like on the example above.
anyway, I will check it.
Time to request custom uniforms on these!
Patu, yes it's true, in complex shaders will be almost impossible to use.
But maybe could be possible to, instead of creating a new shader for each slider value, you could create a hidden uniform and use that uniform in the position of the code when moving the slider, that way only one compilation was need, changing the slider would use the the uniform.
But maybe could be possible to, instead of creating a new shader for each slider value, you could create a hidden uniform and use that uniform in the position of the code when moving the slider, that way only one compilation was need, changing the slider would use the the uniform.
that's not me.
Quote:
...a hidden uniform...
sounds sensible.
Quote:
that's not me.
I accidentally picked Your avatar. I'm sorry and I promise to never do it again.
umm, you can just query the uniform names and then send the modifier values to the shader. no need to recompile with every change.
New version. Shaders' previews by movAX13h.
0.6.1 brings sliders for iMouse uniform.
Hot
I have just published newest version. Some major changes since my last post:
- Cloning own shaders (save as copy)
- Four sliders for iMouse.xyzw
- Time loop in set range
- Cloning own shaders (save as copy)
- Four sliders for iMouse.xyzw
- Time loop in set range
Latest changelog:
0.9.0
Import/Export ANY shader (JSON file)
Forward/Rewind with arrow keys
Future features:
Snippets (private library of code fragments to easy paste to you shader)
Shader history (save shader state locally, then restore if needed)
https://github.com/patuwwy/ShaderToy-Chrome-Plugin
0.9.0
Import/Export ANY shader (JSON file)
Forward/Rewind with arrow keys
Future features:
Snippets (private library of code fragments to easy paste to you shader)
Shader history (save shader state locally, then restore if needed)
https://github.com/patuwwy/ShaderToy-Chrome-Plugin