Game Development Community

Light leaks again

by Dave Potter · in Constructor · 07/25/2009 (2:10 am) · 1 replies

Hi guys,

I have recently returned to Torque and thought I would check out the Constructor package. Everything is fine after some initial teething problems (most solved by searching the forums - thanks guys), but I am now faced with an issue I cannot solve. I am getting light leaks along the edges of 'joined' rooms in my portalled interiors.

I have checked the forums and I think I am doing everything correctly : i.e. my brushes are correctly lined up (always use snap to grid when making them), my portal is ultra thin (0.001) and correctly intersects the surrounding brushes and I have no flipped faces. I have also tried playing with the HSR combinations and the epsilon values, but all to no effect.

This happens in even the simplest of maps and is a real problem with what is otherwise an excellent building tool. Can anybody help, please. I have seen other people on the forums have had similar issues....

Many thanks,

PS: I am using the latest TGEA and Constructor versions and running Vista (not that that is the issue)

About the author

Having another go at this game dev thing


#1
07/25/2009 (3:38 am)
Thought it might be an idea to give you the .csx file and a screenshot of the problem. So, file can be downloaded here :

www.davepotter.co.uk/tunnel_segment.csx

And here is a shot of the light leak :

www.davepotter.co.uk/images/Image1.jpg
As you can see the player is fully lit, when he should be lit only by the interior lighting (the portal is set to ambient 0). This is happening where the two rooms join and only in a few specific locations along the join line.

Thanks again for any help