Usage
shaderview <path to fragment shader> [options]
Options:
-st Pass it, when you're using a shader from Shadertoy.com
Example
./shaderview shaders/shader3.frag -st
Hot Reloading
It automagically reloads the shaders as soon you modified it.
Or you can just press R.
Build
You need:
$ jai -version
Version: beta 0.2.030, built on 2 July 2026.
and a directory named ./modules which contains a symlink or a copy of the
Raylib library
Build via:
chmod +x shaderview.jai && ./shaderview.jai
or
jai shaderview.jai -optimized
Credits
- shader2.frag from kishimisu
- shader3.frag from Gaijin Entertainment
License
Do whatever you want with this program. I'm not liable for any damages this program might have caused. You're using this program at your own risk.
This license does not include the fragment shaders in ./shaders/*.frag.