Trouble with ShadowedRenderPass

Hi,



I’m developping an application (i will certainly post a topic on this) and I’ve got trouble with shadows.



Here is a screenshot : http://pagesperso-orange.fr/garage-isidore/screen.jpg



It’s like one part of the scene is lighted (around the camera) while the other is in the dark.

I did exactly like in lesson9 of flagrushtut to render the shadows and i tried to tune shadows with ShadowTweaker but so far i’ve the same problem.



Does someone know how to solve this ?



Thank you


Does removing the shadows fix it? Perhaps there's a large object in the background (like a skybox) that causes shadows?

Exactly, my skybox was in the shadowPass. I've realize that just after posting the topic.



Thank you