[osg-users] Atmospheric effects in OSG

Elias Tarasov elias.tarasov at gmail.com
Thu Jul 16 03:26:55 PDT 2015


Hello!
I chose to follow the advice and try to use osgHimmel. However, i've got the problem: when i launch any osgHimmel-based app (examples or mine), i've got nothing on the screen except:

Atmopshere Precomputed (took 11.2606 s)
VERTEX glCompileShader "" FAILED
VERTEX Shader "" infolog:
0(5) : error C0204: version directive must be first statement and may not be repeated

FRAGMENT glCompileShader "" FAILED
FRAGMENT Shader "" infolog:
0(5) : error C0204: version directive must be first statement and may not be repeated

glLinkProgram "" FAILED
Program "" infolog:
Vertex info
-----------
0(5) : error C0204: version directive must be first statement and may not be repeated

Fragment info
-------------
0(5) : error C0204: version directive must be first statement and may not be repeated

VERTEX glCompileShader "" FAILED
VERTEX Shader "" infolog:
0(5) : error C0204: version directive must be first statement and may not be repeated

GEOMETRY glCompileShader "" FAILED
GEOMETRY Shader "" infolog:
0(5) : error C0204: version directive must be first statement and may not be repeated

FRAGMENT glCompileShader "" FAILED
FRAGMENT Shader "" infolog:
0(5) : error C0204: version directive must be first statement and may not be repeated

On the wiki i didn't find any info about that problem except one unanswered comment about that.

It seems that something wrong with a shaders. Can anybody pointed why?

Thank you!

Cheers,
Elias

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64311#64311








More information about the osg-users mailing list