[osg-users] How to use osg::ShaderBinary

Qiaokun Lefei osgforum at tevs.eu
Mon Jul 24 00:16:29 PDT 2017


Hi,

    I want to know the use of 'osg::ShaderBinary'.
    'osg:: ShaderBinary' is read from a binary file.
    I just don't know how to generate a binary shader file.
    Maybe use an offline shader compiler?
    I hope someone tell me if it is necessary to use 'osg::ShaderBinary' in case of using a lot of shaders in a big project and how to use it. 
Thank you!

Cheers,
Qiaokun

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







More information about the osg-users mailing list