I have huge problems with making nice lighting indoors. You see, in my game, there are a lot of long hallways and in order to illuminate them, I use PointLights with the Shadows property disabled. And the light amount quickly got out of hand.
And this is just a small portion of it. Do you have any tips that would help me make nice lighting without putting a billion PointLights everywhere, dropping the FPS to the floor? Thanks.
What are you attempting to achieve? Beautiful indoors lighting.
What is the issue? The total amount of the PointLights is unacceptable and it lags the game to a point where it is unplayable at high graphics levels.
What solutions have you tried so far? Using big SurfaceLights.
What solutions have you tried so far? Using big SurfaceLights.
Here’s a little detail on the SurfaceLights part.
Putting big SurfaceLights all over the celling was a great way of minimizing the light source count while maintaining good looks, however, there were many flaws in it that made me change my mind and not use them.
game.Lighting.EnvironmentDiffuseScale = 0
game.Lighting.EnvironmentSpecularScale = 0
^ both attempt to get rid of any outside lighting that come in between the walls.
game.Lighting.Ambient = 0
^ makes the indoor dark letting you mess around with lighting sources
LightPoint not highly bright with shadows turned on and wide(range approx. 20~30)