Hi Sukender,

If the two LightSource node, that use the same light number, fall in
the same RenderStage then the last one to be traversed will be the one
that takes precedence, and the previous one will be ignored.
Effectively a light can only be in one place at one time.

Robert.

On Tue, Nov 25, 2008 at 12:14 AM, Sukender <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Just a stupid question (does it require a stupid answer? ;) ): What happens 
> to OpenGL/OSG when two LightSources with the same number are added to the 
> graph? How does the cull/render behave?
> (Yes, I tried it)
>
> Sukender
> PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
> _______________________________________________
> 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