- Home /
Getting trouble with lights
OK, I have 2 problems and questions but related to the same. First I don't know why but when I have a point light, spot light or a directional light and there is a wall it seems to get through the wall. Example: I have a house with 2 floors and in the second floor is a light but that light is seen in first floor too.
Second, I have a floor a with a texture and when I put a light it looks perfectly in the floor, but when I add another light to the scene only one of the 2 lights can be seen in the floor(at run-time).
So how can I solve this 2 problems I have?
Answer by flaviusxvii · May 23, 2011 at 08:52 PM
Your first problem has to do with shadows. Light happily travels through floors, walls, and anything else in a rendering engine unless you specifically exclude some objects from being lit (you could make sure the light only applies to what's in the room) or you have a system that casts shadows.
Your second problem has to do with materials. The floor material probably only handles one light. For every light a material can handle the system has to do a lot more processing to determine the final color.
I know they're pretty but lots of fancy lights is actually a very challenging thing to do well. If you're just beginning try to keep things simple and avoid spotlights and shadows.
I think I found a way and is change the culling mask of the light but it would not work as I want because I quit the layer mask walls in the first floor will be ok, but in the second floor the light will not get to the walls so, would you know a better way to do it? please I need your help.
Your answer
Follow this Question
Related Questions
Lighting Problem 2 Answers
Spot light creates squares instead of round spot 2 Answers
Spotlights "turn off" a certain distance from camera? Possible Lab Renderer issue (maybe not). 0 Answers
Floor Tearing Because Of Overlapping? 0 Answers
How can I get spot light direction in forward add pass? 0 Answers