i am new in the shader land.
i want to enable and disable a shader using jit.gl.slab.
there are 2 ways to do this
- using a gate
- sending dispose / read "myshader.jxs" (does not work with op.invert.jxs)
my question is: which is the most stable and efficient way ?
Did you try to send a message to jit.gl.slab whit ‘enable $1′ ??
sending a enable 0 switches the shader complete off.
so you can not make a shader chain.
just in case that you need a specific invert shader to switch on/off in the slab chain,,, the v001.invert shader from vade works with the dispose method.
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions