Hi Community, Robert,
I am working with the latest from the trunk and I see older coder which
uses #pragmatic shaders is no longer working as it should - and it was
working ok just can not recall the OSG version. Here is how I use the
#pragmatic shaders:
in the shader:
#pragma import_defines (MY_DEFINE)
#ifdef (MY_DEFINE)
....
#endif
in the code:
node->getOrCreateStateSet()->setDefine("MY_DEFINE");
This was working for years, now it doesn't. Was this changed over the past
few versions?
Thanks a bunch as always!
Cheers,
Nick
--
trajce nikolov nick
--
You received this message because you are subscribed to the Google Groups
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/osg-users/CAO-%2Bzi%3Dcbjc60AgAoBsOiHRODCjVK3MvMmdYrff5Yq8u37Ze2w%40mail.gmail.com.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org