Hi Sergey,

this never worked for me for about a half of year.
Update: now it works! It seems that maybe, I was unlucky on svn update and, 
kept the update for a while, seeing this issue.

Based on your assurance, I made some tests and updated my shader routines. All 
shows that the issue is gone. Thanks.

John


On Friday 17 of August 2012 12:52:01 Sergey Polischuk wrote:
> Hi, John
> 
> > it seems that it is not possible to put an uniform to the stateset of the
> > scene root (for example, light position) and to put Program at the bottom
> > (say, at a stateset of a drawable).
> 
> It's just not true, and works for me all the time. Can you post minimal
> example that dont work?
> 
> Cheers,
> Sergey.
> 
> 17.08.2012, 12:20, "PCJohn" <[email protected]>:
> > Hi,
> > 
> > it seems that it is not possible to put an uniform to the stateset of the
> > scene root (for example, light position) and to put Program at the bottom
> > (say, at a stateset of a drawable).
> > 
> > It seems to me that the Program and all its Uniforms must be put the same
> > StateSet. This way, it works for me. However, it is not a flexible
> > approach. Must the Program and all its Uniforms be put to the same
> > StateSet or should I investigate this "bug candidate"?
> > 
> > John
> > _______________________________________________
> > 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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to