GLSL + Zig
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
s-ol 8d8b6b2599 inject #line directives for better error reporting 6 months ago
shaders better config 4 years ago
src inject #line directives for better error reporting 6 months ago
.gitignore initial commit 4 years ago
README.md document configuration in README.md 4 years ago
build.zig update for zig 0.11.0 6 months ago
config.yaml better config 4 years ago

README.md

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