Hi.

I want to pre-compile shader programs before they are actually used by
real nodes.
I tried to create empty node (new osg::Node) and assign an
osg::StateSet with an osg::Program, but such action did not trigger
shader compilation.
In the logs I see shader compilation happening only when I assign
osg::StateSet to actual nodes at my screen.

What am I missing?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to