[osg-users] Sharing programs and uniforms among state sets

paulo paulo.jnkml at gmail.com
Wed Mar 25 22:22:07 PDT 2009


Hi,
thank you for your help.

Just another thing.

So if I have a osgFX that performs N passes, I can share the same stateset between all of them as I understand.

And then at the uniforms update callback I can set it's value according to the pass being executed? And for each pass they will have a different value right?

Thank you again.

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








More information about the osg-users mailing list