[osg-users] Scale-invarient lighting

Dave Rush dave at laniakea.zone
Wed Aug 31 00:13:41 PDT 2016


I should probably take a step back and explain why I was using a positioned light sources in the first place. Basically when I add a scene populated with white GL_POINTS programmed in:

- using the default directional light, the points (which should be white in reality) show up as black. 

- using a positioned light source, the points show up correctly as white.

I'm thinking this may actually be an nvidia driver bug (linux nvidia-355), since when using an intel card the points always show up as white regardless of light source type. Does this make sense?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68493#68493








More information about the osg-users mailing list