Domanda

I try and run my techdemo for a 3D rendering using the 3d engine jme3 and the jmeplanet library and it displays the startup splash screen and starts rendering the 3D scene but when starting the control and actually move around in the gameworld, it crashes with this error msg. Can you help me interpret what it means? The projects runs ok on MS-Windows 8.1 (but it also gets a second different stacktrace on Ubuntu).

enter image description here

È stato utile?

Soluzione

According to the error, it looks like the OpenGL was unable to compile your fragment shader, since the error specifies that the GLSL language version is 1 (language=GLSL100) which is very old, I assume the syntax used to creating the shader is meant for a higher level of OpenGL. Try to see what OpenGL version the engine is using and if is supported by your graphics card. Also, try to check if the source code of that fragment shader contains #version XXXX directive at the first line, if it doesn't try to add the GLSL version of the OpenGL version the engine is using.

If it didn't solved your problem please post here the source code of that fragment shader.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top