fbo.startRenderToTexture();
//Change blending mode to avoid artifacts from alpha blending at antialiasing for example
// gl.glBlendFuncSeparate(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA, GL.GL_ZERO, GL.GL_ONE);
gl.glBlendFuncSeparate(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA, GL.GL_ONE, GL.GL_ONE_MINUS_SRC_ALPHA);
// /*
boolean clipping = false;
if (GLStencilUtil.getInstance().isClipActive()){
clipping = true;