From e16d66507626bff5788056cf69b0364d1733dbe7 Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Sun, 7 Jun 2026 12:24:52 -0500 Subject: --- ffmpeg-shadertoy/.gitignore | 2 ++ ffmpeg-shadertoy/ffmpeg-shadertoy.c | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 ffmpeg-shadertoy/.gitignore diff --git a/ffmpeg-shadertoy/.gitignore b/ffmpeg-shadertoy/.gitignore new file mode 100644 index 0000000..c3f1b75 --- /dev/null +++ b/ffmpeg-shadertoy/.gitignore @@ -0,0 +1,2 @@ +*.glsl +*.mkv diff --git a/ffmpeg-shadertoy/ffmpeg-shadertoy.c b/ffmpeg-shadertoy/ffmpeg-shadertoy.c index 52305ed..0051db7 100644 --- a/ffmpeg-shadertoy/ffmpeg-shadertoy.c +++ b/ffmpeg-shadertoy/ffmpeg-shadertoy.c @@ -1,3 +1,26 @@ +// ================================================================================================ +// Basic offline shadertoy rendererer. Textures are not supported. +// +// Usage: +// $ ffmpeg-shadertoy -w -h -r -t +// +// 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 +// +// Changelog: +// 5/15/2026: Initial release +// +// License: +// SPDX-License-Identifier: 0BSD +// Copyright (c) 2026 Hunter Kvalevog +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +// WITH REGARD TO THIS SOFTWARE. +// ================================================================================================ + #include #include #include -- cgit v1.2.3