Logo

index : shaderview

Low effort shader viewer

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/shaderview.git/html/README.md blob: d3e0560c15bc10fa3ecc5d951d4b66b2d407f2b7 [raw] [clear marker]

        
0# Usage
1```
2shaderview <path to fragment shader> [options]
3```
4
5Options:
6```
7-st Pass it, when you're using a shader from Shadertoy.com
8```
9
10## Example
11```
12./shaderview shaders/shader3.frag -st
13```
14
15## Hot Reloading
16It automagically reloads the shaders as soon you modified it.
17Or you can just press `R`.
18
19
20# Build
21You need:
22```
23$ jai -version
24Version: beta 0.2.030, built on 2 July 2026.
25```
26and a directory named `./modules` which contains a symlink or a copy of the
27[Raylib library](https://git.ptrace.dev/public/raylib-jai.git/)
28
29
30Build via:
31```
32chmod +x shaderview.jai && ./shaderview.jai
33```
34or
35```
36jai shaderview.jai -optimized
37```
38
39
40# Credits
41- shader2.frag from [kishimisu](https://www.shadertoy.com/view/mtyGWy)
42- shader3.frag from [Gaijin Entertainment](https://www.shadertoy.com/view/sctXDn)
43
44
45# License
46Do whatever you want with this program.
47I'm not liable for any damages this program might have caused.
48You're using this program at your own risk.
49
50This license does not include the fragment shaders in `./shaders/*.frag`.
51
52
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit