[osg-users] #pragmatic composition : setDefine

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Mon Apr 20 15:47:00 PDT 2015

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 ...

at the root of the scene I have

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 !


trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150421/d32aaa22/attachment-0001.htm>

More information about the osg-users mailing list