This software compiles OpenGL fragment shader and displays it in a window. Program will recompile the shader automatically whenever shared source file changes. ⚙
There are probably dozens of better tools for doing the same things as this one does and more. I built this for myself as a starting point for experimenting with ray marching visualizations. 🔮
If you use this software to create something cool, please let me know. 😍
If you find bugs, please fix them and send in a pull request. I'm pretty sure there is at least some memory leak somewhere. 🛠️
GLFW might require GCC compiler, you can install one from tdm-gcc.
Run make deps
to install required modules.
Then run make compile
to compile binary.
If you are using apt
you can do apt-get install libglfw3-dev
to get GLFW.
TODO. 👨💻
- OpenGL specs
- OpenGL wiki
- GLFW API library used in this software to do everything
- hg_sdf very helpful library for building signed distance functions