<div dir="ltr"><div><div>Hi Andreas,<br><br></div>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?<br><br></div>Robert.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 February 2016 at 07:41, Andreas Roth <span dir="ltr"><<a href="mailto:osgforum@tevs.eu" target="_blank">osgforum@tevs.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry for the confusion.<br>
<br>
The shader is from osgEarth <a href="https://github.com/gwaldron/osgearth/blob/master/src/osgEarthDrivers/sky_simple/SimpleSky.Ground.ONeil.vert.glsl" rel="noreferrer" target="_blank">https://github.com/gwaldron/osgearth/blob/master/src/osgEarthDrivers/sky_simple/SimpleSky.Ground.ONeil.vert.glsl</a>.<br>
<br>
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.<br>
<span class=""><br>
Andreas<br>
<br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=66435#66435" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=66435#66435</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>