Game Development Community

Portals making room go full bright

by Neil Marshall · in Game Design and Creative Issues · 08/24/2005 (7:37 am) · 3 replies

Here is a screenshot of what I'm talking about:
www.eightlines.com/neil/temp/fullbright.png

When I don't have any portals, it lights properly. The rooms are dark, but they at least have shading.
When I add portals with "Allow ambient light to pass through" they work exactly the same way.
When I add portals with "Don't allow Ambient Light through" they go this full bright. I would expect them to be black, because then I could properly light them with dif lights. But that's not whats happening.

Does anyone know how to fix this or is this a "feature" of Map2dif_plus 1.0?

#1
08/24/2005 (9:16 am)
When you set "don't allow ambient pass through", the ambient light inside the dif is controlled by the ambient_color property in the worldspawn enitity of your .map. I'm guessing you have yours set at 255 255 255, which would be "fullbright". Set it to 0 0 0 for black or whatever color you want.
#2
08/24/2005 (3:08 pm)
I don't have it handy at the moment but I believe the Ambient was set to 20 20 20 and the emergency was set to 0 0 0. I'll double check it when I get back into work tomorrow, but I'm pretty sure thats what it's set to. I have since tried setting the emergency to bright red but I haven't tried turning the ambient lighting since I did that.
#3
08/25/2005 (5:42 am)
I figured it out. It was the ambient colour being set to 20 20 20 made the room that bright. Set it to 0 0 0 and it's black as expected.