[Tutorial] Make a map brighter (beginners)

Discussion in 'Tutorials & Resources' started by martijntje, Sep 23, 2009.

  1. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    Team fortress 2 maps are ment to be bright. However some people (including) me have the problem that their maps are usually not bright enough. I have been frustrated and I usually just ended up putting more lights in the map.

    A quick note: night maps need to be bright aswell.

    What we will do is make every light source more bright. It takes a while, but it makes your map a lot better. The entities we will be working with will be light, and anything that begins with light_.

    It is recommended to use light_spot instead of light in your map. light should only be used in the very first stages of your map. (aka you are too lazy to do proper lightning), or when it's a special kind of light source. (fire for instance)

    to begin you search for a light entity
    [​IMG]
    now double click on it to change it properties


    now this window appears. click on where it says "Brightness" (circeld in red)
    now on the right of this window 4 numbers appear. the first three numbers represent what color the light is, now the fourth number (circled in green) represents how bright you light will be. change this to a higher value.
    [​IMG]
    the default value is 200. I changed it to 500 in my map, but you should experiment a bit on how high you want it to be

    very simple, but very useful

    now for some amazing side by side comparison

    before
    [​IMG]
    after
    [​IMG]

    (the map used in this tutorial is my awesome map rockbottom)
     
    Last edited: Sep 23, 2009
  2. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    Whilst "light" entities are used on occasions, you'll probably want to exclusively use "light_spot".
     
    • Thanks Thanks x 1
  3. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    true. I use "light" 's in my map for good reasons (fire emits in all directions)
     
  4. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    Also, if your map is really dark, check that you have no leaks (Map->Load pointfile)
     
  5. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    Well, a lot of lights do..

    If an area isn't recieving enough light, then just use an additional source to illuminate what the first does not. It is not uncommon for one light to overlap another to illuminate more surface area. Valve only ever use light's in area's where models recieve bad vertex lighting or have particularly dark corners in need of a small ambient boost. Such as Gravel Pit's Blu spawn.

    Or alternatively increase the amount of bounces the light performs during the compile process via the command line. If you have a particularly dark map (such as a tomb, as you have here (a result of dark material's, particularly brown's, rather than a lack of a skybox)) this would be an effective solution. But baring in mind this process is "world wide" and effects all area's and light sources. So if you have a dark area that needs more lighting you might find another area in your map that is lit plentifully, suddenly too bright. The point of light bounces is that your light_spot will illuminate the area around it (including behind it) provided the material it reflects off is bright enough to bounce enough light back. Meaning you wont get dark patches behind your light_spot's like you might otherwise assume.
     
    Last edited: Sep 23, 2009
  6. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    I would love to know why leaks would make a map darker
     
  7. Caliostro

    Caliostro L6: Sharp Member

    Messages:
    261
    Positive Ratings:
    110
    If anything, shouldn't they make it fullbright...?
     
  8. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    apperently not, I have maps with leaks that are not fullbright.
     
  9. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    No. If you have a leak, vrad doesn't execute the light bounces so you only get the direct light (Nothing is reflected)
     
    • Thanks Thanks x 2