https://github.com/dtcxzyw/shadertoy
Unofficial ShaderToy live viewer
https://github.com/dtcxzyw/shadertoy
glsl glsl-sandbox learnopengl opengl shaderlab shaders shadertoy shadertoy-compatibility
Last synced: 7 days ago
JSON representation
Unofficial ShaderToy live viewer
- Host: GitHub
- URL: https://github.com/dtcxzyw/shadertoy
- Owner: dtcxzyw
- License: apache-2.0
- Created: 2023-04-27T05:45:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-29T13:06:14.000Z (9 months ago)
- Last Synced: 2025-03-19T00:24:10.656Z (7 months ago)
- Topics: glsl, glsl-sandbox, learnopengl, opengl, shaderlab, shaders, shadertoy, shadertoy-compatibility
- Language: C++
- Homepage: https://github.com/dtcxzyw/shadertoy
- Size: 19.4 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shadertoy
---[](https://github.com/dtcxzyw/shadertoy/actions/workflows/build-windows.yml)
[](https://github.com/dtcxzyw/shadertoy/actions/workflows/build-linux.yml)
[](https://github.com/dtcxzyw/shadertoy/actions/workflows/build-macos.yml)Unofficial ShaderToy live viewer
## Gallery
[](https://www.shadertoy.com/view/lllBDM)
[](https://www.shadertoy.com/view/4dcGW2)
[](https://www.shadertoy.com/view/lsX3W4)
[](https://www.shadertoy.com/view/tsKXR3)
[](https://www.shadertoy.com/view/stdyRr)
[](https://www.shadertoy.com/view/dltGWl)
[](https://www.shadertoy.com/view/MscSzf)
[](https://www.shadertoy.com/view/MsXGz4)
See [examples](examples) for more shaders.
## Features
Render passes:
+ [x] Image
+ [x] Cubemap
+ [ ] Sound
+ [x] Buffer
+ [x] CommonChannels:
+ [x] Textures
+ [ ] Music
+ [ ] Video
+ [ ] Volumes
+ [x] Cubemaps
+ [x] Buffer
+ [x] Keyboard
+ [ ] Webcam
+ [ ] MicrophoneUtilities:
+ [x] Import from shadertoy.com
+ [x] Render pass editor
+ [x] GLSL shader editor
+ [x] Export/import shaders in STTF(ShaderToy Transmission Format)
+ [x] Screenshots
+ [ ] Video recording
+ [ ] Custom uniforms
+ [ ] Custom meshes
+ [ ] Anti aliasingContributions are welcome!
## Releases
See [Releases Page](https://github.com/dtcxzyw/shadertoy/releases) for pre-built binaries (windows x64/linux x86-64/macos arm64/macos x86-64).## Build Instructions
### Prerequisites
+ Windows/Linux/macOS
+ CMake 3.12+
+ [vcpkg](https://github.com/microsoft/vcpkg)
+ Graphics API: OpenGL 4.5+### Clone the repository
```bash
git clone --recursive https://github.com/dtcxzyw/shadertoy.git
cd shadertoy
```### Configure and build
```bash
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX= -DCMAKE_TOOLCHAIN_FILE=/scripts/buildsystems/vcpkg.cmake
cmake --build build -j
cmake --build build -t install
```### Run shadertoy live viewer
```bash
/shadertoy[.exe] []
```## License
This repository is licensed under the Apache License 2.0. See [LICENSE](LICENSE) for details.