Well, from reading Technique.cpp I'm able to guess that I have to re-implement 
the traverse traverse method. 

The best idea seems to be just copy paste the 
Technique::traverse_implementation and for each pass implement a specific 
behavior.

For what I want, apply the same shader(s) several times, first each shader 
should be associated with a specific pass/state set. Then loop around the 
traverse of the Technique's children.

I think that here I can freely modify the shaders parameters, but I'm not sure.

Another problem is that I don't know for which kind of visitor I should do 
this. (Or even if this is the right way to do it - as there's no doc)

Someone? [Question]

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





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

Reply via email to