Package javax.media.opengl

Examples of javax.media.opengl.GL.glBlendFunc()


//       */
//      GLStencilUtil.getInstance().endClipping(gl, this);
    fbo.stopRenderToTexture();
     
    if (GLFboStack.getInstance().peekFBO() == 0)
      gl.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA); //Restore default blend mode //FIXME TEST -> neccessary?
   
    //FIXME NOT NEEDED!? sufficient to call glGenerateMipmapEXT at texture creation!?
    //TODO I actually think its necessary to call each time after rendering to the texture! But only for POT dimensions!?
    /*
    GLTexture tex = (GLTexture) this.getTexture();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.