diff options
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" |
