Lighting brush entities
Post Reply
Quote
Re: Lighting brush entities
Posted by Nyvhek on Mon Jan 31st at 10:00pm 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.




Quote
Re: Lighting brush entities
Posted by French Toast on Mon Jan 31st at 10:03pm 2005


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. [addsig]



Quote
Re: Lighting brush entities
Posted by Nyvhek on Mon Jan 31st at 10:04pm 2005


It's ingame.




Quote
Re: Lighting brush entities
Posted by French Toast on Mon Jan 31st at 10:13pm 2005


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. [addsig]



Quote
Re: Lighting brush entities
Posted by DrGlass on Mon Jan 31st at 10:20pm 2005


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)
[addsig]





Post Reply