Hi,

Have a look here to see why I use this (on Robert's advice) : 

http://forum.openscenegraph.org/viewtopic.php?t=11769

I know this is more like a "workaround", but it is really usefull to be able to 
write StateAttributes classes which manage and apply their own uniforms.

To solve my problem described in this post, my guess is I have to replace the 
"_currentShaderCompositionUniformList" with a stack in which we can "push" and 
"pop" uniforms when StateAttributes are "pushed" and "poped".


Thank you!

Cheers,
Aurelien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56452#56452





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to