Login  Register

Re: Shader crashes JVM

Posted by Xerxes Rånby on Mar 21, 2013; 1:07pm
URL: https://forum.jogamp.org/Shader-crashes-JVM-tp4028702p4028730.html

Nice live coder!

You may want to add
Class-Path: gluegen-rt.jar jogl-all.jar vecmath.jar
to the META-INF/MANIFEST.MF
it makes it a bit easier to start the live coder using
java -jar gllivecoder.jar

the "crash.frag" runs fine on my i915 intel desktop here using Ubuntu.

It looks like your code may need some tweaks to be fully mobile OpenGL ES 2 compatible. Post the code on github using a free software license if you want portability improvements.
I first run into a Not a GL2 implementation GLException.
I then later run into an null pointer exception using the AC100 Nvidia tegra2 OpenGL ES 2 driver  at startup
gl.app.GLNEWTApp.reshape(GLNEWTApp.java:197)
try switch all getGL2 in your code to getGL2ES2 to stay OpenGL ES 2 compatible