best way to disable jit.gl.slab


    Apr 05 2010 | 2:17 pm
    hi list,
    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 ?
    best,
    babette

    • Apr 05 2010 | 2:39 pm
      Hi,
      Did you try to send a message to jit.gl.slab whit 'enable $1' ??
      Luis Marques
    • Apr 05 2010 | 3:23 pm
      sending a enable 0 switches the shader complete off.
      so you can not make a shader chain.
    • Apr 11 2010 | 12:03 pm
      hey,
      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.
      bye,
      o