Login  Register

Re: Shader crashes JVM

Posted by gouessej on Mar 19, 2013; 9:23am
URL: https://forum.jogamp.org/Shader-crashes-JVM-tp4028702p4028704.html

Hi

Mixing immediate mode (glBegin()/glEnd()/...) with shaders is a very bad idea, I already said that several times here. It causes huge slowdowns with some drivers and now you even get a crash. Your GLSL sandbox probably doesn't do that. Switch to VBOs, use at least ImmModeSink if you're in a hurry.

Edit.: it might not be enough to solve your problem. Please look at shader logs.
Julien Gouesse | Personal blog | Website