Game Development Community

Light leaks in mapped interior

by Joe O · in Artist Corner · 08/29/2006 (8:29 am) · 5 replies

I created a map and I can see leaks in the lighting in the interior where the brushes touch. I have searched the forums and have not found any suitable solutions to the problem. In a last ditch effort I'm trying the forums. Has any found a solution to this problem? Is there something I can add to my .map to clean up the leaks? Is there a post process I can run that will glue the seams together? Any help or insight is appreciated.

#1
08/29/2006 (9:47 am)
-Is your model portaled and leak-free (ie, if you have "ambient light does not pass through" turned on, is it pitch black except for added lights)?
-Try extending the walls to the top of the ceiling and bottom of the floor brushes. Yeah, I know that is counterintuitive, and yet it sometimes works.
-Some say that dove-tailing the corners (making them meet at a diagonal point) helps. Note, on rare occasions this can actually cause a zone leak.
#2
08/29/2006 (10:06 am)
You're first bullet is interesting... I have no clue what that means :) I'm using a version of Radiant for the Mac at the moment and it's not really geared for doing specifically Torque interiors... I hope that's not yet another problem with the Mac platform :(

Second, the outer walls have breaks in them because of the windows and door frames and such. Should I try fitting them like so? (Sorry about the crummy ASCII art :)

| |
|/
/|
| |

Thanks for the response!
#3
08/29/2006 (12:31 pm)
You may want to use portals on any openings to the outside. You can find some good information on portals (and other types of brushes) here.

I think some other people use Radiant to map, though I'm not sure.
#4
09/04/2006 (4:14 pm)
Bevel the edges by bending the verticies so that a corner will meet evenly. This helps with the lighting a little bit, though there are still light leaks all over the place with default torque lighting. You basically have to own the lighting pack to use Torque.
#5
09/06/2006 (6:22 pm)
I rarely see light leaks with my interior structures. Here are some things to try:

* Make outer walls thicker. Simple, but it works.

* Overlap brushes slightly.

* To seal correctly, portals should always overlap into surrounding brushes, e.g. your door and window frames.

* If your sunlight angle is too closely aligned with brush seams, there is a greater chance of it leaking. Sometimes just tweaking the sunlight angle can make a huge difference.

* Adjusting the geometry scale from the default 32 may have some effect -- I often use 16 for my DIFs...

Having never tried Radiant with Torque, I don't know if that has any effect or not. I currently use Hammer, while I'm waiting for Constructor to be released.