best way to disable jit.gl.slab

Apr 5, 2010 at 2:17pm

best way to disable jit.gl.slab

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

#49547
Apr 5, 2010 at 2:39pm

Hi,

Did you try to send a message to jit.gl.slab whit ‘enable $1′ ??

Luis Marques

#178067
Apr 5, 2010 at 3:23pm

sending a enable 0 switches the shader complete off.
so you can not make a shader chain.

#178068
Apr 11, 2010 at 12:03pm

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

#178069

You must be logged in to reply to this topic.