[osg-users] Export shader programs to external files

Johan Hedstrom leadcoder at gmail.com
Sun Sep 13 12:07:13 PDT 2015


Hi, 
I ‘am trying to save a scene graph (from code) that export the shader programs to external glsl-files and the only way to do that is to use the  .osg format with the “OutputShaderFiles” option, right?. Anyway, the problem is that I also use the osg::Texture2DArray which not seems to be supported by the .osg serializer.

Is there a way around this problem? I’ve been using OSG 3.2.1 but while looking at the trunk I don’t see any new file formats or changes to the .osg format that could fix this.

Thank you! 

Cheers, 
Johan

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








More information about the osg-users mailing list