((Geometry)obj).states[RenderState.RS_ZBUFFER] = null;
ZBufferState oldZState = (ZBufferState)((Geometry)obj).states[RenderState.RS_ZBUFFER]; ((Geometry)obj).states[RenderState.RS_ZBUFFER] = null;
    private void renderTransparentBucket() {        transparentBucket.sort();	        for (int i = 0; i < transparentBucket.listSize; i++) {                Spatial obj = transparentBucket.list[i];                 if (twoPassTransparent) {	                ((Geometry)obj).states[RenderState.RS_CULL] = null;	                ((Geometry)obj).states[RenderState.RS_ZBUFFER] = null;	                // first render back-facing tris only	                tranZBuff.apply();	                tranCull.setCullMode(CullState.CS_FRONT);	                tranCull.apply();	                obj.draw(renderer);	                	                // force no compare to last cullstate	                Spatial.clearCurrentState(RenderState.RS_CULL);	                	                // then render front-facing tris only	                tranCull.setCullMode(CullState.CS_BACK);	                tranCull.apply();	                obj.draw(renderer);	            } else {	                // draw as usual	                obj.draw(renderer);	            }                obj.queueDistance = Float.NEGATIVE_INFINITY;	        }        transparentBucket.clear();    }