1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

[Tutorial] Eliminating Dark Rooms

Discussion in 'Tutorials & Resources' started by grazr, Oct 3, 2010.

  1. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,768
    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.

    [​IMG]

    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.

    [​IMG]

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

    [​IMG]
    [​IMG]



    [​IMG]
    [​IMG]



    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.
     
    • Thanks Thanks x 21
    • Useful Useful x 1
    Last edited: Oct 7, 2010
  2. Grim Tuesday

    aa Grim Tuesday

    Messages:
    1,257
    Positive Ratings:
    376
    Good, now we need a tutorial on superbright rooms.
     
  3. Mr.Late

    Mr.Late L7: Fancy Member

    Messages:
    408
    Positive Ratings:
    157
    But I don't want to eliminate my map... :(

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

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,768
    You mean tell people to put bloom control in their map? Is that really worth a thread? :/
     
    Last edited: Dec 6, 2010
  5. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    Unnamed lights do not contribute to the entity limit, only the light limit (which is high enough nobody should really run into it).
     
    • Thanks Thanks x 2
  6. lana

    aa lana Currently On: ?????

    Messages:
    3,077
    Positive Ratings:
    1,389
    Of course, nobody will ever run into that shifty eyes.

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

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,768
    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.
     
  8. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,182
    Unless you're using texlights :p
     
    • Thanks Thanks x 1