When I don't have any lights in my scene, and my viewer's lighting mode is set
to no_light:
osgViewer::Viewer() ->
getCamera()->getView()->setLightingMode(osg::View::NO_LIGHT)
there is still some default lighting in the scene. Where does this light come
from, and how can I change it to be bri
Hi All,
I was looking for an answer to the same question.
Regards
Gianni
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46964#46964
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http:
Hi,
just a guess - try global ambient intensity.
i'm using this code:
Code:
osg::LightModel *lightModel = collisionStateSet ?
dynamic_cast
(collisionStateSet->getAttribute(osg::StateAttribute::LIGHTMODEL)) : NULL;
if (lightModel) {
globalAmbientIntensity = lightModel->getAmbientIntensity
3 matches
Mail list logo