I'm currently working on a game for school and I'm having some problems with the lightning of our game. The idea of the game is that you play inside of a maze inside a sphere and the style is based on avatar (the awsome movie, not the last airbender). The surounding is dark and the scene is lightend by a lot of glowing plants. Since you play inside of a sphere it's always posible to see almost all the lights in the scene in 1 shot (or at least lots of them).
Now comes the problem; I tried to test it if it just was posible to render all the lights realtime (I knew it would not be possible to render that many lights but unity is awsome so I tried (: ).
The first solution i'd think of is to bake all the lights in beast lightmap and then make all the lights only react to the character. This way I could just turn off al the lights and then when the character comes close to a light I would turn it on and you would see the light of the plant effect on the character. No problem so far, the problem comes with the lights (the light that the character caries and lights of spells) that also should effect on the walls. This would only be possible if I could turn of a lightmap of a wall but I can't get that to work... (If one of you knows how to do this it would fix my problem)
The seccond thing I could think of is using deferred lightning. In principle this would fix my problem I had at first; When a light is far away it would be a lightmap and when I get close the lights become realtime lights in witch the light of the plants shine on the character/wall and the light of the character also reacts on the wall.
Now I got a new problem; The area it renders in realtime is an area around the camera. When I would cast a spell to the other side of the level I would not bee able to that light having any effect on the other side of the level. This is also a problem when you bring in another point of our game: splitscreen multiplayer. Each camera renders realtime within an area of its own position. This is especialy ugly when 2 players come close to eachother. You would see the lights on eachother jump on and of. A solution to this would bee if I coulds specify sertain area's that should be rendered in realtime instead of just the area around each camera.
I hope I was able to explain my problem to you and that someone knows a solution.