Sorry for the confusion. The shader is from osgEarth https://github.com/gwaldron/osgearth/blob/master/src/osgEarthDrivers/sky_simple/SimpleSky.Ground.ONeil.vert.glsl.
My problem with the _computeShaderDefines() function is that it tries to parse a #pragma line, but in the end is actually parses multiple lines because the #pragma line does not have a opening bracking at all and find the next opening bracket further down in the code. Andreas ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66435#66435 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

