Hi Robert, all,
I finally ported all my shaders to the this new thing. I have a question.
Probably simple but will go anyway
in my shader I have something like
#define MYDEFINE
.. do stuff here ...
#endif
at the root of the scene I have
stateSet->setDefine("MYDEFINE");
how can I fornid this define somewhere down the tree ? Simple removing it
is not helping (as expected I guess).
Any sample how the defines with Values set works?
Thanks a bunch !
Nick
--
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org