[osg-users] missing color for simple model with GLCORE
Robert Osfield
robert.osfield at gmail.com
Sat Jul 28 02:19:09 PDT 2018
Hi Andreas,
When you use GLCORE you have to provide your own shaders to do rendering.
Unless you really have to use GLCORE for portability reasons - such as
OSX or to avoid crappy driver issues, I would recommend just sticking
with the default build of the OSG where you can mix and match old
fixed funciton pipeline and new shader code when you want, without
having to go all in with shaders.
Robert.
On Fri, 27 Jul 2018 at 21:29, Andreas Roth <osgforum at tevs.eu> wrote:
>
> Hi,
>
> i'm trying to get a model with colors and GLCORE (in OSG 3.6.2).
>
> If i build OSG with the standard build options using GL2 the model shows some color (see osg_gl2.png). When i buildOSG with GLCORE the load does not show any colors (see osg_glcore.png).
>
> The model does not contain any textures, only a geometry with a color array. How can i enable the colors for GLCORE?
>
>
> Thank you!
>
> Andreas[/img]
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=74403#74403
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list