/shaderviewer

Displays OpenGL fragment shaders

Primary LanguageGo

Shader Viewer

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. 🛠️

Build instructions

Windows

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.

Linux

If you are using apt you can do apt-get install libglfw3-dev to get GLFW.

TODO. 👨‍💻

Further reading