[osg-users] Export shader programs to external files

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Sun Sep 13 12:12:03 PDT 2015


Hi Johan,

You could run a visitor and export them yourself prior to the export.

Cheers
Sebastian
> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list