Shadow problem
Posted: Sun May 17, 2015 11:20 am
hi,
i`m having hard time trying shadows to get going, i tried implementing few shader programs i found on ogre forums:
http://www.ogre3d.org/forums/viewtopic.php?f=1&t=46819
http://www.ogre3d.org/forums/viewtopic.php?f=11&t=52354
but i always encounter the same froblem , shadows seem to flcker/disapear at some angles of camera like in this video:
[youtube]https://www.youtube.com/watch?v=kq-_TubF1fQ[/youtube]
i have the same problem with directional, post, and point lights, and if i add multiple lights ( same or diferent types) it gets even worse,
thres nothing special how i setup my scene, i use simple BasicApplication code and just add the code provided with the shader from threads above.
any help would be appreciated,
R
i`m having hard time trying shadows to get going, i tried implementing few shader programs i found on ogre forums:
http://www.ogre3d.org/forums/viewtopic.php?f=1&t=46819
http://www.ogre3d.org/forums/viewtopic.php?f=11&t=52354
but i always encounter the same froblem , shadows seem to flcker/disapear at some angles of camera like in this video:
[youtube]https://www.youtube.com/watch?v=kq-_TubF1fQ[/youtube]
i have the same problem with directional, post, and point lights, and if i add multiple lights ( same or diferent types) it gets even worse,
thres nothing special how i setup my scene, i use simple BasicApplication code and just add the code provided with the shader from threads above.
any help would be appreciated,
R