diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-03-05 16:12:48 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-05 17:37:13 +0000 |
| commit | 0e25730e634ac36c7d0b638084ab94de547a1e86 (patch) | |
| tree | a15cb0d1c26cac47ee824fdc6bae6445da9410d2 /README.md | |
| parent | Update README.md (diff) | |
| download | glsl-view-0e25730e634ac36c7d0b638084ab94de547a1e86.tar.gz glsl-view-0e25730e634ac36c7d0b638084ab94de547a1e86.zip | |
update for Zig 0.14.0
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -11,7 +11,7 @@ GLSL uniforms are accessible as `/$UNIFORM_NAME`. The OSC type must match the GL uniform float time = 0; uniform dvec3 color; - + + ---- /time f 123.56 /color ddd 0.5 0.1 0.1 @@ -21,7 +21,7 @@ Vectors and matrices can be indexed using integers or the GLSL swizzling keys (x uniform vec3 color; uniform mat3 mat; - + + ---- /color/r f 0.5 /mat/0/y f 123 @@ -34,7 +34,7 @@ When built with ffmpeg, images and videos can be loaded as 2D or 3D textures: uniform sampler3D videoA; uniform sampler2DArray videoB; - + + ---- /image s "image.jpg" /videoA s "subdir/video_a.mp4" |
