arcan-fe Wiki
Scriptable frontend for media applications.
Status: Beta
Brought to you by:
bjornstahl
declaration:
::lua
function image_shader(vid, shid) => nil;
Associate a prebuilt shader with vid. A shid with value 0 will revert the active shader to the default one.
caveats:
Using an invalid shid or one that did not pass the compilation stage properly may fail silent (or emitt a lot of warnings in debug-mode). For MesaGL/Linux, remember to use the MESA_DEBUG sysenv variable.
related functions:
[mesh_shader] [build_shader] [shader_uniform]