[osg-users] More lights in scene!

Robert Osfield robert.osfield at gmail.com
Mon Oct 24 08:37:48 PDT 2016


On 24 October 2016 at 16:20, Nickolai Medvedev <raizel.dev at yandex.ru> wrote:
> I need colour of the surface geometry of objects in the scene.

gl_Color with GL2, or osg_Color if you have enabled the vertex to
vertex attrib aliasing.  This aliasing is on by default for GLcore or
GLES2 profiles.

Go look at the shaders in the OpenSceneGraph-Data/shader examples.

Robert.



More information about the osg-users mailing list