https://github.com/cah9xddd/glsl_live
Simple GLSL fragment shader editor
https://github.com/cah9xddd/glsl_live
cplusplus cpp glsl opengl shaders
Last synced: 2 months ago
JSON representation
Simple GLSL fragment shader editor
- Host: GitHub
- URL: https://github.com/cah9xddd/glsl_live
- Owner: cah9xddd
- License: mit
- Created: 2024-12-18T01:04:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-11T13:33:06.000Z (over 1 year ago)
- Last Synced: 2025-01-11T14:30:47.798Z (over 1 year ago)
- Topics: cplusplus, cpp, glsl, opengl, shaders
- Language: C++
- Homepage:
- Size: 1.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GLSL_Live
[]([https://github.com//cah9xddd/GLSL_Live/actions/workflows/cmake_windows_build.yml])
This project enables live editing and rendering of GLSL fragment shaders, inspired by [ShaderToy](https://www.shadertoy.com).
It was created as a learning tool to explore [The Book of Shaders](https://thebookofshaders.com).
This application allows real-time interaction with GLSL shaders, providing an easy-to-use interface for testing and modifying shader code on the fly.
## Features
- Real-time fragment shader editing.
- Interactive GLSL shader rendering.
- Uniforms passed with the same names as on ShaderToy, so you can easily copy and paste to learn.
## Requirements
- CMake
- vcpkg (for managing dependencies, ensure it is installed and added to your PATH)
## Building the Project
1. **Clone the repository:**
```bash
git clone https://github.com/cah9xddd/GLSL_Live.git
cd GLSL_Live
```
2. **Build the project (ensure you have vcpkg and its added to the PATH).**
```bash
cmake -B build
cmake --build build --config Release
```
3. **Go the bin/platform/build_type/project_name/ and run exe. Example:**
```bash
cd ./build/bin/Win64/Release/GLSL_Live.v.1.0.0/
./GLSL_Live.exe
```