[osg-users] Scale-invarient lighting
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Wed Sep 21 00:08:52 PDT 2016
Hi Dave,
> Sorry for the slow response, I've worked it out.
>
> I had to:
> - Add normals to all points
> - Add directional lighting from multiple directions (6 in fact), so that the lighting is fairly omnidirectional
>
> ...and the points are now showing correctly. Thanks for the help!
That seems a bit overkill. If you simply want the points to be uniformly
lit, you can disable lighting for them and assign the color you need.
Cheers
Sebastian
>
> Dave
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68676#68676
>
>
>
>
>
> _______________________________________________
> 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