Hi Andreas,

Thanks for the extra info.  Which version of the OSG are you using?  Do you
know if the osgEarth code is attempting to utilize the OSG's #pragmatic
shader composition?

Robert.

On 26 February 2016 at 07:41, Andreas Roth <[email protected]> wrote:

> 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
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to