best way to disable

Apr 5, 2010 at 2:17pm

best way to disable

hi list,
i am new in the shader land.
i want to enable and disable a shader using

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 ?


Apr 5, 2010 at 2:39pm


Did you try to send a message to whit ‘enable $1′ ??

Luis Marques

Apr 5, 2010 at 3:23pm

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

Apr 11, 2010 at 12:03pm

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.


You must be logged in to reply to this topic.