Hi Linda,
Looks like shadow map was rendered using different projection than the
texture projection which is applied by shadow texgen. This is most probably
a result of texgen unit conflict. Does your model use texture coordinates on
the same stage as shadow map (1 by default) ?
But that issue could be also caused by other factors (old ATI drivers,
texture matrix settings etc) so it would be best it you could prepare a test
case and post it on forum. You may also try ShadowMap which should give you
very similar results to StandardShadowMap and see if the issue is present
there. ShadowMap does not use Vertex shaders so if your issue is caused by
something in Vertex setup phase it may not appear in ShadowMap.
Cheers,
Wojtek Lewandowski
-----Oryginalna wiadomość-----
From: Linda Lee
Sent: Monday, December 27, 2010 2:02 PM
To: [email protected]
Subject: [osg-users] StandardShadowMap effect
Hi,
I tried using StandardShadowMap but however, have strange result as
attached. Could anyone give some clue as what went wrong?
Thank you!
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35176#35176
Attachments:
http://forum.openscenegraph.org//files/shadow_213.jpg
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org