configuration
fragment
(str
): path to GLSL fragment shader.width
(int
): horizontal rendering resolution. defaults to1920
.height
(int
): vertical rendering resolution. defaults to1080
.outputs
: list of outputs. defaults to one 800x600 window. each output is a dictionary with the following keys:type
(str
): currently alwayswindow
.width
(int
): window width. defaults to800
.height
(int
): window height. defaults to600
.osc
: either a 'liblo URL' or dictionary with the following keys:protocol
(str
):udp
,tcp
orunix
. defaults toudp
.port
(int
): port to bind to. defaults to9000
.
libio URLs
Unfortunately undocumented by libio. The following formats are valid:
osc.udp://localhost:1234
osc.udp://224.0.1.9:1234
(multicast IP)osc.tcp://:1234
osc.unix://localhost/tmp/mysocket
Commit History
@master
git clone https://git.s-ol.nu/glsl-view.git
- inject #line directives for better error reporting s-ol 1 year, 2 days ago
- only restore uniform values if type unchanged s-ol 1 year, 2 days ago
- allow indexing uniforms, fix bug s-ol 1 year, 7 days ago
- specifying config.yaml path as CLI arg s-ol 1 year, 7 days ago
- load shaders relative to config file / project_root s-ol 1 year, 7 days ago
- update for zig 0.11.0 s-ol 1 year, 7 days ago
- update for zig 0.9.0 s-ol 2 years ago
- update for zig 0.8.0 s-ol 2 years ago
- remove/ignore unused variables s-ol 2 years ago
- better pragma error messages s-ol 2 years ago