[osg-users] ShadowMap problem...
Wyatt Earp
wyattbsearp1881 at gmail.com
Tue Nov 10 11:56:33 PST 2009
Thanks, That seem to make some change, instead of a grayish circle, I now
see a moving roundish object...
W
-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of
Jean-Sébastien Guay
Sent: Tuesday, November 10, 2009 1:31 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] ShadowMap problem...
Hi Wyatt,
> Any suggestions?
I haven't tried your code, but I don't see you calling
ShadowMap::setLight() anywhere... Try to add this once your light source
is initialized:
sm->setLight(ls->getLight());
Other than that, at first glance your code seems OK.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
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