View previous topic :: View next topic |
Author |
Message |
CocoT

Joined: 14 Dec 2004 Posts: 599 Location: Belly-Gum
|
Posted: Mon Feb 22, 2010 4:23 am Post subject: "Forcing" light on model ? |
|
|
Alright, this is probably a very silly question, but since I'm stuck, I'm hoping one of you could maybe help me
I've been working on this map that uses lots of func_trains (nicely packed on the far side of the map, while the path corners are in the middle of it) and I have some issues with lighting the whole thing so that the player weapon is properly lit. Whatever I do, it always seem to be dark (even when I increase the ambient light to the max). Any suggestion on how I could fix that?
Oh, and my mod is using Darkplaces only, by the way.
 _________________ http://www.planetcocot.net/ |
|
Back to top |
|
 |
metlslime
Joined: 05 Feb 2008 Posts: 177
|
Posted: Mon Feb 22, 2010 8:50 am Post subject: |
|
|
player (and any other entity) lighting is done by tracing a line straight down until you hit a lightmapped world face, and sampling the lightmap at that point.
This is true even when standing on a brushmodel, so to fix it you would have to brighten the lighting on the floor under the train's path. |
|
Back to top |
|
 |
CocoT

Joined: 14 Dec 2004 Posts: 599 Location: Belly-Gum
|
|
Back to top |
|
 |
CocoT

Joined: 14 Dec 2004 Posts: 599 Location: Belly-Gum
|
Posted: Mon Feb 22, 2010 2:53 pm Post subject: |
|
|
Yat, it's working now! I was a little concerned at first because the bottom part was sky (it's a transloquake map, so it's basically a big sky box), and it didn't work. I obviously didn't want to have the bottom part hard floor. Then figured out that by putting a floor under the map, it did the trick! Awesome!  _________________ http://www.planetcocot.net/ |
|
Back to top |
|
 |
|