Hey everybody.
I’m trying to realise some occlusion by “invisible” objects. I.e. I draw some objects with gl.glColorMask(false,false,false,false) - but writing to the depthBuffer. Afterwards I turn color writing back on and draw my regular objects…
The latter are “occluded” by the first ones… Perfect in jogl.
Now I try to do the same thing in Xith (because I’d like to have loaders and scenegraph-convenience as well) using jogl as a renderer. But I didn’t figure it out where or from where I can trigger these low-level-GL-commands, since I just add my scene to an universe and all I can do is set some Appearances.
Can I control colorMask-writings during the drawing of the scenegraph?
Well, hopefully I just didn’t take a precise look into the documentation and it’s possible. If so: perhaps someone could point out the passage and I’ll turn red in shame and that’s it. 
I can go into more detail, but perhaps it’s already sufficient…
I did a search for “ColorMask” and got a few hits. The *Peer classes are the interesting ones, that’s where the OGL stuff happens.