1
0
Fork 1
mirror of https://git.s-ol.nu/glsl-view synced 2025-02-21 21:54:07 +01:00
GLSL + Zig
Find a file
2024-11-13 20:07:20 +01:00
shaders better config 2020-01-27 11:46:19 +01:00
src update for zig 0.13.0 2024-11-13 20:07:20 +01:00
.gitignore initial commit 2020-01-22 17:11:33 +01:00
build.zig update for zig 0.13.0 2024-11-13 20:07:20 +01:00
config.yaml better config 2020-01-27 11:46:19 +01:00
README.md document configuration in README.md 2020-01-25 18:09:09 +01:00

configuration

  • fragment (str): path to GLSL fragment shader.
  • width (int): horizontal rendering resolution. defaults to 1920.
  • height (int): vertical rendering resolution. defaults to 1080.
  • outputs: list of outputs. defaults to one 800x600 window. each output is a dictionary with the following keys:
    • type (str): currently always window.
    • width (int): window width. defaults to 800.
    • height (int): window height. defaults to 600.
  • osc: either a 'liblo URL' or dictionary with the following keys:
    • protocol (str): udp, tcp or unix. defaults to udp.
    • port (int): port to bind to. defaults to 9000.

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