Lighting
Moderator: Moderators
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Lighting
I have tried adding Directional lights to a map, and they don't seem to do anything ingame( they do what I want in ZE) at all unless I put them in the Global light setting box. Is this normal? Or do I have to edit something else to get them to work?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Lighting
Please post your modID.lgt file, but before you do that double check that you have entered the name of your directional light in the box for it, located on the right hand side of ZE in Lighting mode.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Lighting
Maybe I wasn't clear enough. So directional lights do not work unless they are put into the Global light settings box?AQT wrote:Please post your modID.lgt file, but before you do that double check that you have entered the name of your directional light in the box for it, located on the right hand side of ZE in Lighting mode.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Lighting
That's incorrect. Depending on your light settings (and the things you want it to light up), you may not notice a difference. If you could post a picture of your map in ZE (with the lighting tab opened and the light in question selected) and then a comparison ingame picture, it would help to illuminate the problem.StarkillerMarek wrote:Maybe I wasn't clear enough. So directional lights do not work unless they are put into the Global light settings box?
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Lighting
Nice pun.Maveritchell wrote:That's incorrect. Depending on your light settings (and the things you want it to light up), you may not notice a difference. If you could post a picture of your map in ZE (with the lighting tab opened and the light in question selected) and then a comparison ingame picture, it would help to illuminate the problem.StarkillerMarek wrote:Maybe I wasn't clear enough. So directional lights do not work unless they are put into the Global light settings box?
ZE pic
Hidden/Spoiler:
I will try to post an ingame pic in a few minutes. I have to eat dinner.
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Lighting
I have a feeling this is your problem:
BF2_lighting doc wrote:Each object can only be affected by at most 1 ambient light, 2 directional lights, 4 omni lights (3 on PS2) and 1 spot light. If more lights affect an object then a heuristic is used to choose the “best” lights to use.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Lighting
That might be it. I'll try reading over that section some more.Eggman wrote:I have a feeling this is your problem:
BF2_lighting doc wrote:Each object can only be affected by at most 1 ambient light, 2 directional lights, 4 omni lights (3 on PS2) and 1 spot light. If more lights affect an object then a heuristic is used to choose the “best” lights to use.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Lighting
Try going in front of where the light should be in game with a Imp trooper, look at the armor and or weapon that is where you may notice the light the most. That way you can tell if the light is indeed making in game.
Not all objects receive light well.
If you look at this video, there is a red flashing omni light, you can see it on Boba and one the wall by the rotating orange light but not on the walls by where Boba is. (The red stripes are flashing texture they don't count or contribute to the light) So obviously there is something set on the one piece of geometry that is affected by the light while the other one seems to be missing it.

Not all objects receive light well.
If you look at this video, there is a red flashing omni light, you can see it on Boba and one the wall by the rotating orange light but not on the walls by where Boba is. (The red stripes are flashing texture they don't count or contribute to the light) So obviously there is something set on the one piece of geometry that is affected by the light while the other one seems to be missing it.

- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Lighting
I will try it and post a picture. Thanks.FragMe! wrote:Try going in front of where the light should be in game with a Imp trooper, look at the armor and or weapon that is where you may notice the light the most. That way you can tell if the light is indeed making in game.
Not all objects receive light well.
If you look at this video, there is a red flashing omni light, you can see it on Boba and one the wall by the rotating orange light but not on the walls by where Boba is. (The red stripes are flashing texture they don't count or contribute to the light) So obviously there is something set on the one piece of geometry that is affected by the light while the other one seems to be missing it.
Edit: It appears everything works on the player(you can see the light), but it doesn't work on a wall for me. Maybe a need change something on the model.
