This is a OpenGL GLSL shader viewer compatible with shaders written for Bonzomatic by Gargaj, which is a program where you can write a 2D fragment/pixel shader while it is running in the background. Bear in mind FFT is not currently supported so don't expect your shaders to dance to the music.
- Install and set up devkitPro
- Run
(sudo) (dkp-)pacman -S libnx switch-mesa switch-glad
to install the required libraries - Run
make
to compile and build - Transfer
Shader.nro
to your Switch - (optional) Enjoy
- Bonzomatic by Gargaj and other contributors (https://github.com/gargaj/Bonzomatic)
- Riverwash LiveCoding Tool by Michał Staniszewski and Michal Szymczyk (http://www.plastic-demo.org/)
- STB Image and Truetype libraries by Sean Barrett (http://nothings.org/)
- JSON++ by Hong Jiang (https://github.com/hjiang/jsonxx)
These software are available under their respective licenses.
The remainder of this project code was (mostly, I guess) written by Gargaj / Conspiracy and is public domain.
Email me at cameronscottarmstrong@gmail.com