A live GLSL shader development environment that lets you:
- Write GLSL shaders and see instant updates
- Preview shaders on a 3D model
- Use shaders that are directly compatible with OpenGL engines
- WASD: Move camera
- Mouse: Look around
- Mouse wheel: Zoom
- ESC: Exit
- Create/edit shaders in the
shaders
folder - Shaders are automatically reloaded when saved
- See changes instantly in the viewer
shaders/
: GLSL shader filesdefault.vert
: Vertex shaderdefault.frag
: Fragment shader
assets/
: 3D models and texturessrc/
: Source codemain.cpp
: Application entry pointshader.cpp
: Shader loading and hot-reloadingmodel.cpp
: 3D model loadingcamera.cpp
: Camera controls
- Make sure you have CMake installed
- Create a build directory:
cmake -S . -B build
- Build the project:
cmake --build build
- Run the executable in the build folder
- GLFW: Window creation and input handling
- GLAD: OpenGL function loading
- GLM: Math library
- tinyobjloader: OBJ file loading