Today I tried to create a simple program that uses a glsl shader.

When trying to load the shader I get the following exception

25.02.2009 21:48:03 com.jme.scene.state.lwjgl.LWJGLShaderObjectsState checkProgramError

SCHWERWIEGEND: 0(1) : error C0000: syntax error, unexpected ':' at token ":"

0(1) : error C0501: type name expected at token ":"

0(1) : warning C7022: unrecognized profile specifier "C"

Here is the vertex program code:

void main()


    gl_Position = ftransform();         


I tried it using jme 1.0 and lwjgl 1.1.4 and jme 2.0 and lwjgl 2.0.1

I have a Ge-Force 8600 as graphics card.

do you have any ideas?



found the problem.

really stupid…

I passed the file path to the shader as a string to the load function and not as a URL.

So the load function interpreted the path as glsl program.