ShaderTool
0.1
Live tool for developing OpenGL shaders interactively
|
Live tool for developing OpenGL shaders interactively.
I developed this small program to experiment with shaders locally, to reproduce an experience like Shadertoy offline, with the ability to choose my own text editor. It was also a good project to learn OpenGL development. For this reason, the code is very minimal and should be fairly readable.
Additional features:
This project requires the GLFW, GLEW, and FreeImage libraries. On a Debian/Ubuntu system:
To build (with Meson):
To build the documentation with Doxygen:
The documentation is also available online.
For instance, to run the mandelbrot shader with live reloading on save:
Keyboard shortcuts:
Escape
to quitR
to reload the shadersS
to save a screenshot to the current directory, in a file shadername_frame_date_time.png
For now, the "buffer" shader (i.e. the additional shader that renders in a texture in another framebuffer) does not work properly. I don't understand exactly what's broken, but maybe I'll investigate it more closely later. If you have any idea about what went wrong, don't hesitate to notify me!