Re: Lighting brush entities
Posted by Nyvhek on
Mon Jan 31st 2005 at 10:00pm
Posted
2005-01-31 10:00pm
3 posts
0 snarkmarks
Registered:
Jan 31st 2005
Hello all,
I've started to make my first map--so far, it's just one small room,
and all the structural creation has been going fine. However, I
have two brush-based entities in my map, a door (opens to a closet
inside the room) and a bedframe made by tying a bunch of brushes to a
func_physbox.
The problem is this: whenever I move either of these objects, the
lighting on their surfaces doesn't update. More specifically, say
a certain side of the bedframe is facing away from the light in its
starting position. That side is initially rendered dark (even
black). Now, when I push the bedframe into the middle of the
room, that side should start receiving light, but it doesn't. It
stays dark. The same goes for the door: when I open it, the side
that used to face into the closet stays dark.
I've tried making and building a cubemap, and I've checked the textures
to make sure they're not prop or model textures (they're
wood/woodstair002c and wood/woodshelf008a). If it helps, the
setup I'm using in the room is 4 standard light entities (I tried
removing 3 of them, and it still happens).
EDIT: and it's definitely not a problem with applying textures, because
they show up just fine when i shine the flashlight on them.
Re: Lighting brush entities
Posted by French Toast on
Mon Jan 31st 2005 at 10:03pm
Posted
2005-01-31 10:03pm
3043 posts
304 snarkmarks
Registered:
Jan 16th 2005
Occupation: Kicking Ass
Location: Canada
Is this in the editor itself, or ingame, because the lighting isn't calculated in the editor so that is the problem right there, but if it is ingame, I have no ideas.
Re: Lighting brush entities
Posted by French Toast on
Mon Jan 31st 2005 at 10:13pm
Posted
2005-01-31 10:13pm
3043 posts
304 snarkmarks
Registered:
Jan 16th 2005
Occupation: Kicking Ass
Location: Canada
Try switching the textures, maybe theyre just really dark and the light is too dim to make them super light. Try using white or bright textures and see what happens.
Re: Lighting brush entities
Posted by DrGlass on
Mon Jan 31st 2005 at 10:20pm
Posted
2005-01-31 10:20pm
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
All light isn't dynamic, models will recive updated light but not brush
work. That is why when you close your door it wont block light
from other rooms.
As for the bed, the light on a brush is cacluated before the map is
made, so if the underside is dark when the map starts it will be dark
no matter what. (unless you use a light_dynamic i think)
So what you have to do is set the minimum light level on your
func_physbox (there should be an option for that if not... I dont know)