[osg-users] disabled lighting after migration

Robert Osfield robert.osfield at gmail.com
Wed Jan 17 09:17:28 PST 2018

Hi Sebastian,

It could be that there is some undefined state in the scene graph that
is resulting in some subgraphs inheriting that state from other
subgraphs that are rendered before it.

Make sure that all your geometries have normals/colour arrays as
required by the rendering needs you have.  Same applies to other state
in the scene graph, if you want to something on/off make sure it's set
somewhere in the parental chain.


On 17 January 2018 at 15:28, Sebastian Schmidt <herrdersuppen at gmail.com> wrote:
> @robertosfield
> thanks for your reply. I cannot provide any code samples yet.
> I forgot to mention that i have multiple pre rendered drawables,
> each in seperate parent node.
> After some testing it seems that only one of the parent nodes causes the problem.
> Another weird thing: when i set the camera render order to POST_RENDER and push "S" for the first debug mode (StatsHandler), lighting gets enabled again.
> ------------------------
> OSG Version: 3.0.1
> OS: OpenSuse Leap 42.1
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72771#72771
> _______________________________________________
> 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