A minimal live shader editor written in Rust using GLIUM.
ShaderShader is a simple shader playground similar to ShaderToy. It provides a full-screen canvas where you can write and test GLSL fragment shaders in real-time.
- Live shader reloading - changes appear as you write
- Automatic shader compilation
- Compatible with basic ShaderToy shaders that use
iTimeandiResolution - No manual compilation needed
ShaderShader provides two uniforms:
float iTime- elapsed time in secondsvec3 iResolution- window resolution (width, height, aspect ratio)
Any ShaderToy shader that only uses iTime and iResolution will work out of the box. Just drop your fragment shader code into ShaderShader and it will automatically compile and display.
Flags:
-f <path> // Fragment shader path (optional)-v <path> // Vertex shader path (optional)
If you do not include the fragment or vertex flags, you will be prompted in the command-line to enter the paths.
- Rust
- GLIUM