Re: Adding a texture to a cube made of triangles
Posted by John on Mar 20, 2017; 9:58pm
URL: https://forum.jogamp.org/Adding-a-texture-to-a-cube-made-of-triangles-tp4037804p4037806.html
Thanks I'll look into that. So my code displays a black screen because it's deprecated? Specifically, I'm interested in why my screen displays a cube when the line gl.glEnable(GL2.GL_TEXTURE_2D); is commented out but shows a black screen when it is uncommented.