[osg-users] Question about security of shader developments
Robert Osfield
robert.osfield at gmail.com
Wed Jan 30 09:58:34 PST 2019
Hi Werner,
You can compile shaders into source, the osgText, osgVolume and
osgParticle NodeKits all have local shaders directories i.e
src/osgText/shaders. The .cpp files found in these shaders directory
are generated from shaders found in OpenSceneGraph-Data/shaders, and
converted to ,cpp's using osg2cpp example i.e.
osg2cpp --shader myshader.vert
Beyond this you are a bit stick with OpenGL unless you've come across
an extension for using SPIR-V shaders, even these can be decompiled.
Cheers,
Robert.
More information about the osg-users
mailing list