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