Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : How to call glAlphaFunc()? Can't figure out these compile errors

$
0
0
I solved it with

  1. import javax.media.opengl.GL2;
  2. PGL pgl= ((PGraphicsOpenGL)g).pgl;
  3. pgl.enable(GL2.GL_ALPHA_TEST); //3008
  4. PGL.gl.getGL2().glAlphaFunc(516, 0.0);
However I'd like to understand why...

Viewing all articles
Browse latest Browse all 1768

Trending Articles