Re: [osg-users] missing color for simple model with GLCORE

2018-07-28 Thread Robert Osfield
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  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@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] missing color for simple model with GLCORE

2018-07-27 Thread Andreas Roth
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





houses.osg
Description: Binary data
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org