Hi Remo, On 29 March 2017 at 11:32, Remo Eichenberger <[email protected]> wrote: > The shaders on StateSet.cpp and osgvertexattributes doesn't compile on MacOSX > Core Profile / GL3:
StateSet.cpp is an easy fix because there are already separate shaders for GL2 and GL3, I've now checked in texture2D -> texture change into OSG master for the GL3 so it should resolve this issue. The osgvertexattributes example is written for GL2 right now and there aren't any GL3 style shaders so there isn't such a straight forward fix, and at this point in time I don't feel changing shaders in examples is a priority. The examples are meant to be just examples of how to use features rather than covering all the possible usage cases like the core OSG needs to aim for. Perhaps this example should be limited to GL2. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

