public void enableBlending ( ) { GlStateManager . enableBlend ( ) ; GlStateManager . tryBlendFuncSeparate ( GL11 . GL_SRC_ALPHA , GL11 . GL_ONE_MINUS_SRC_ALPHA , GL11 . GL_ONE , GL11 . GL_ZERO ) ; GlStateManager . alphaFunc ( GL11 . GL_GREATER , 0.0F ) ; GlStateManager . shadeModel ( GL11 . GL_SMOOTH ) ; GlStateManager . enableColorMaterial ( ) ; }
Enables the blending for the rendering .