Login  Register

Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX

Posted by Xerxes Rånby on Feb 19, 2013; 8:45am
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4028267.html

krishnak wrote
...
Once they are put back, I get this error

java.lang.UnsupportedOperationException: GLSL and OpenGL2 is required for the JOGL renderer!
        at jogamp.newt.DefaultEDTUtil.invokeImpl(DefaultEDTUtil.java:205)
I have now answered your question in the Raspberry Pi forum
http://www.raspberrypi.org/phpBB3/viewtopic.php?p=291539#p291539

Basically, like gouessej said above, you need to initialize jME3 using an OpenGL ES 1 or OpenGL ES 2 profile depending on the JME3 application configuration. On Desktop OpenGL 2 contains both fixed functions and programmable shaders while on mobile you have to choose fixed function OR shaders.