I'm getting an odd result when using jit.gl.sketch with the 'immediate' attribute.
However, when I flip the toggle so that a second jit.gl.sketch object is drawn inside the first (also using 'drawobject'), the lighting on the gridshapes goes away - and it doesn't come back after the sketch object is toggled off.
In fact, the lighting stays off when the js is recompiled, and doesn't come back until the patch is closed and reopened.
The automatic attribute (which I've set to 0 on the gridshapes and the nested sketch object as usual) doesn't actually seem to have any effect in immediate mode.
Does 'immediate 1' override 'automatic 0'?
And is there some reason I can't use drawobject with a gridshape and a sketch object at the same time?