antsy / shaderviewer

Displays OpenGL fragment shaders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Displays OpenGL fragment shaders


Languages

Language:Go 78.6%Language:GLSL 17.7%Language:Makefile 3.7%