Hey Ben,

On Tue, May 20, 2008 at 6:20 AM, Ben Discoe <[EMAIL PROTECTED]> wrote:

> I noticed that using osgShadow::ShadowMap in my scene makes everything very
> dark, even nodes not part of the shadowed scene.  Studying the OSG code, i
> found this in ShadowMap.cpp, in ShadowMap::cull:
>
>
> const_cast<osg::Light*>(selectLight)->setAmbient(osg::Vec4(0.0f,0.0f,0.0f,1.0f);
>

I can't seem to find this in OSG 2.2. It must have been added recently.
Maybe the old code can be "forward ported"? :P


-- 
[EMAIL PROTECTED]
http://varrojo.linuxuruguay.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to