[osg-users] Export shader programs to external files
    Johan Hedstrom 
    leadcoder at gmail.com
       
    Sun Sep 13 12:41:10 PDT 2015
    
    
  
Hi Sebastian,
> You could run a visitor and export them yourself prior to the export.
Yes but the exported database will still have it’s shaders accessed internally, as far as I know only .osg can load external shaders but the .osg unfortunately don’t support Texture2DArray. The purpose of have the shaders separated from the database is to be able to tweek the shader code without regenerating the database.
Cheers,
Johan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65123#65123
    
    
More information about the osg-users
mailing list