Hi there…
i wrote a system wich allows me to switch between Inside/outside or between floor-by-floor without changing the scene, by simply disolve parts of my building model.
So, when the player enters a building, all Floors + Roof above 1st, get disolved. If the player enters a stair, the 2nd floor appears, or disapears when going downstairs.
This works very well - just got a problem with the directional light of the world.
See:
and this is one of the problems (see shadow outside, but player inside):
The question now:
Is there a way to avoid - that directional light affects the ground/walls/lighting inside a building with such a system??
I don´t wnat the sun to shine inside, even when i disolve the upper floors.