Login  Register

Re: Issue about textures and glOrtho

Posted by Demoscene Passivist on Mar 14, 2011; 12:52pm
URL: https://forum.jogamp.org/Issue-about-textures-and-glOrtho-tp2675799p2675911.html

Maybe its just a depth/faceculling or lighting issue.

Have u tried disabling these ?

gl.glDisable(GL.GL_DEPTH_TEST);
gl.glDisable(GL.GL_CULL_FACE);

Guess its worth a shot to see if this works.

Also remember that OpenGL is as statemachine. Once u set a state u have to explicitly reset to its default state afterwards. I can't see that u restore/reset the state in ur display method.