Shadow problem

Let’s say you have level X loaded at the origin. The player completes level X, you load X+1 just out of shot and move the camera over. While the player is on X+1 you load X+2 at the origin ready to move the camera back.

So you only ever have two spots you load levels in and move the camera between them

Another possibility is to always load at the origin, but when a level is complete, set the camera off to the left, stream the level and then move right again with the camera. You could do it so it basically looks the same as what you have now ( little difficult to describe ).

Once you get it working it will be fine.

I think it’s better than origin re-basing, because with that you always have everything loaded, which on a mobile is not good.

Tell me if it’s not working, I can knock something up and show you the code…

EDIT: don’t spend too much time on it though, I’m not sure lighting scenarios work on mobile ( can’t find anything on that ).

Also, could you use dynamic light if you know you only have to load one level at a time?

EDIT2: Ok, you don’t need scenarios…