Hi,
I have a osgFX that needs to apply two pass technique.
On the second pass I need to apply one or more shaders one or more times. (controlled by the user parameters)

I looked at the osgFX::Scribe which covers the osgFX creation.
For the shaders I looked at the code from osgshaders.

Now my problem is that a simple callback to set the Uniform will not be enough for what I need. I need to control what shaders are enabling/disable, how many times each is applied for a pass and I need to be able to change the Uniforms for each of those applications.

Any ideas how to do this with osg?
I'm sure it's not complicated, but I'm kind of new to this.

Thank you
paulo
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to