Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deps
examples
images
lib
src
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md

README.md

Live-GLSL

00

build and run

this project uses CMake, you can download it here or use an installation package manager like homebrew.

brew install cmake

clone the project with submodules:

git clone git@github.com:karimnaaji/live-glsl.git
git submodule init && git submodule update
mkdir build && cd build
cmake ..
make
./live-glsl.out fragment_shader_to_watch [sound_path]

example

sound experiment video

fragment shader inputs

Possible use of these uniforms :

  • time : float
  • resolution : vec2
  • uniform float spectrum[256]; // spectrum of sound
  • uniform float wave[256]; // wave of sound