I am trying to light a 3D model without placing it underneath the Sky-Node. This is because I also want it to appear in the "night" region of my earth scene.
However, the surface of my model is still fully white. When I am placing it underneath the sky node it is lit, but it obviously disappears when it is in the "night" region.
I am basically aiming for a lambert shading of the model. My next try would be to write my own osg::Program for the model node. Or does anybody have a better solution?