Problem with ShadowedRenderPass

I’ve tried to solve this issue for a while now and I’m getting quite annoyed at it.

When I load the scene, no shadows are rendered untill I move the camera manually by keyboard/mouse commands.

I’ve tried to trace what happens when I press a key, but I cant seem to find why the shadows are behaving weird.

I’m using ShadowedRenderPass as the pass for the nodes in the pictures, and Lex StrategicInputHandler and MouseHandler.

At scene load:

After camera have been moved:

Unfortunately I don't have a solution for you, but I do have the same problem  :stuck_out_tongue:

Any help would be appreciated

I still have this problem, and I've put my project on hold untill its solved :frowning:


i don't see any shadow in both pictures (although the second one is a little darker than the first). Can you post the code  where you define the shadow pass and all your scene lighting? This way it is easier to help you.  :stuck_out_tongue: