[Tutorial] Eliminating Dark Rooms

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
One of the main problems i see with the release of ammatuer maps is dark rooms. This isn't entirely down to the lack of lights but simply the use of base light brightness.

Since dark textures bounce back less light in the compile process rooms with dark textures such as the brown wood appear significantly darker than lighter textures such as white wood or concrete etc. Combating this issue is usually resolved practically by including several light_spot's or a secondary phantom (normal) light which helps to further illuminate the ceiling behind a light_spot. However this can eat into important entity limits (if dynamic/named) for larger maps, often leaves the HDR ambience looking off and creates inconsistant shadows around details.

An example of the base brightness value in the light_spot follows: Adjusting the colour value does not change the end 3 digits, even if you make the light darker by adding blackness to the colour the value remains at 200.

light1a.jpg


If one searches through the pre-compile .vmf's kindly provided by Valve one will notice that many of the lights in the maps have modified brightness values stretching from the base 200 and up into the thousands (1600 was the highest i've currently seen). Some light_environment's also have custom brightnesses so it's not limited to the normal light entities.

The lights in the 2fort RED basement and spawn use a value of 450, whilst lights in the entrance area of the RED base use 1400. I observed values as high as 1600 in tc_hydro.

light2a.jpg


Here are examples to demonstrate the difference in room illumination between these values: From the base 200 up to 1500.

light_exp0003.jpg

light_exp0004.jpg




light_exp0001.jpg

light_exp0002.jpg




I'll provie a bsp below which allows you to see for yourself rooms rising incrementally in brightness from the base 200, 250, 500, 1000 and 1500.

download vmf+bsp

A much shorter and practical tutorial from myself. Hopefully this will reduce the amount of dark rooms in new map releases.
 
Last edited:

Mr.Late

L7: Fancy Member
Nov 27, 2009
408
157
But I don't want to eliminate my map... :(

But hey, nice tutorial for beginners. Now do what Grim just said.
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
Of course, nobody will ever run into that shifty eyes.

Excellent tutorial. Very clear and concise and solves a specific problem. Have a thanks!
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
Unnamed lights do not contribute to the entity limit, only the light limit (which is high enough nobody should really run into it).

Ah, of course. I guess it's true that lights arn't dynamic unless you tell them to be. I'm not sure how i overlooked that fact.