[osg-users] More lights in scene!

Robert Osfield robert.osfield at gmail.com
Mon Oct 24 00:26:38 PDT 2016


HI Nickolai,

The limit to 8 lights is part of the GL fixed function pipeline so if
you uses shaders you can address this.

By co-incidence I've started some experiments with extending the
#pragma(tic) shader composition framework to blurr the line between
fixed function and shaders which may provide a possible route to
adding more than 8 lights.  If this goes well then I'll be introducing
this work to the community.  It's bleeding edge work though, I really
don't know yet whether I can make it all work.

Robert.

On 23 October 2016 at 20:12, Nickolai Medvedev <raizel.dev at yandex.ru> wrote:
> Hi, community!
>
> 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?
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69119#69119
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list