<div dir="ltr">Hi Nickolai,<div><br></div><div>this is the topic that I am still learning ... Do a search for Forward+. Here is some opensource OSG implementation: <a href="http://openig.compro.net">http://openig.compro.net</a> .... the source is here: <a href="https://github.com/CCSI-CSSI/MuseOpenIG">https://github.com/CCSI-CSSI/MuseOpenIG</a> .. Look there for the ForwardPlus plugin.</div><div><br></div><div>Short story, without digging into the details of F+ itself, you encode your light attributes (color, direction, range ..) into float texture (or TextureBufferObject) and in your shaders you unpack the light attributes from these and perform your lighting. This way you are not limited to the OpenGL constructs for lights.</div><div><br></div><div>It is really advanced topic but interesting as well indeed ...</div><div><br></div><div>Cheers,</div><div>Nick</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 23, 2016 at 9:12 PM, Nickolai Medvedev <span dir="ltr"><<a href="mailto:raizel.dev@yandex.ru" target="_blank">raizel.dev@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, community!<br>
<br>
I have a question: how i can create more than 8 lights in scene. Need new shader-based light system? If so, how i can make these?<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=69119#69119" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=69119#<wbr>69119</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>