<div dir="auto">Here's some shader code you can use as a reference (not a complete solution on its own). There are also some links in the code comments you can research.<div dir="auto"><br></div><div dir="auto"><a href="https://github.com/gwaldron/osgearth/blob/master/src/osgEarth/PhongLighting.frag.glsl">https://github.com/gwaldron/osgearth/blob/master/src/osgEarth/PhongLighting.frag.glsl</a><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 10, 2019, 1:49 AM Catalin <<a href="mailto:inbox.icf@gmail.com">inbox.icf@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>Does OSG has some shaders that replicates the fixed pipeline of OpenGL (1.x) with the 8 lights?</div><div><br></div><div>Thank you,</div><div>Catalin<br></div></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank" rel="noreferrer">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>