diff options
| -rw-r--r-- | README | 2 | ||||
| -rw-r--r-- | ffshadertoy/.gitignore (renamed from ffmpeg-shadertoy/.gitignore) | 0 | ||||
| -rwxr-xr-x | ffshadertoy/build.sh (renamed from ffmpeg-shadertoy/build.sh) | 2 | ||||
| -rw-r--r-- | ffshadertoy/ffshadertoy.c (renamed from ffmpeg-shadertoy/ffmpeg-shadertoy.c) | 6 |
4 files changed, 5 insertions, 5 deletions
@@ -7,7 +7,7 @@ Home page https://git.kvog.sh/demos Mirror https://github.com/kvog-git/demos
aarch64/ AArch64 assembly experiments
-ffmpeg-shadertoy Basic offline Shadertoy renderer
+ffshadertoy Basic offline Shadertoy renderer
flacdec FLAC decoder
gl-asylum Procedurally generated 3D OpenGL scene
huffman Huffman encoding demo
diff --git a/ffmpeg-shadertoy/.gitignore b/ffshadertoy/.gitignore index c3f1b75..c3f1b75 100644 --- a/ffmpeg-shadertoy/.gitignore +++ b/ffshadertoy/.gitignore diff --git a/ffmpeg-shadertoy/build.sh b/ffshadertoy/build.sh index 29f6e1b..3dffa22 100755 --- a/ffmpeg-shadertoy/build.sh +++ b/ffshadertoy/build.sh @@ -3,4 +3,4 @@ set -euo pipefail mkdir -p bin C=$(pkg-config --cflags libavcodec libavformat libswscale libavutil sdl3) L=$(pkg-config --libs libavcodec libavformat libswscale libavutil sdl3) -cc -o bin/ffmpeg-shadertoy -Wall -Wextra -Wpedantic -O0 -g $C ./ffmpeg-shadertoy.c $L +cc -o bin/ffshadertoy -Wall -Wextra -Wpedantic -O0 -g $C ./ffshadertoy.c $L diff --git a/ffmpeg-shadertoy/ffmpeg-shadertoy.c b/ffshadertoy/ffshadertoy.c index c15a308..2a56424 100644 --- a/ffmpeg-shadertoy/ffmpeg-shadertoy.c +++ b/ffshadertoy/ffshadertoy.c @@ -2,10 +2,10 @@ // Basic offline shadertoy renderer. Textures are not supported. // // Usage: -// $ ffmpeg-shadertoy <input.glsl> <output> -w <width> -h <height> -r <fps> -t <length> +// $ ffshadertoy <input.glsl> <output> -w <width> -h <height> -r <fps> -t <length> // // For example, download https://www.shadertoy.com/view/Ms2SD1 as seascape.glsl and run: -// $ ffmpeg-shadertoy ./seascape.glsl -w 1920 -h 1080 -r 60 seascape.mkv +// $ ffshadertoy ./seascape.glsl -w 1920 -h 1080 -r 60 seascape.mkv // // Changelog: // 6/7/2026: Initial release @@ -185,7 +185,7 @@ int main(int argc, const char **argv) SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); - SDL_Window *wnd = SDL_CreateWindow("ffmpeg-shadertoy", a_w, a_h, SDL_WINDOW_OPENGL); + SDL_Window *wnd = SDL_CreateWindow("ffshadertoy", a_w, a_h, SDL_WINDOW_OPENGL); if (!wnd) { ASSERT_SDL(0, "Failed to create window"); } |
