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