Logo

index : shaderview

Low effort shader viewer

  • summary
  • about
  • tree
  • log
  • branches
https://git.ptrace.dev/public/shaderview.git
git@git.ptrace.dev:repos/public/shaderview.git
JAI: 17%
MD: 17%
FRA: 50%
GT: 17%

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.

Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit