Help with lighting

Discussion in 'Mapping Questions & Discussion' started by CyanideNoodles, Jun 27, 2016.

  1. CyanideNoodles

    CyanideNoodles L2: Junior Member

    Messages:
    70
    Positive Ratings:
    6
    I'm not so good at lighting when it comes to areas like this. No matter what I do it's either dim light the light is turned off, or its super bright and warm colored to the point it hurts your eyes. Can someone suggest something? I've tried changing the constant, the colors, the brightness, you name it. It looks way better in hammer.. Without the pink rug it looks a bit better, but still the same issue. I've always had issues with warm colored rooms like this. Suggestions? Also, sorry if making a second post for a diff topic is against the rules.
    [​IMG]
     
  2. RodionJenga

    RodionJenga L5: Dapper Member

    Messages:
    234
    Positive Ratings:
    239
    It would be helpful to know what settings you're using in the screenshots. In the meantime here's some conjecture.

    > It looks like you're using entirely constant light. While a dim constant light might be useful in the center of a room (to fill out dark corners) most of the light should have linear or quadratic components and based around light sources, such as that lamp.

    > I'm not sure that any of those are Tf2 textures. The Tf2 palette tends to be a bit pale/desaturated, so working with bright pinks and yellows will give very different results even when using identical lighting.

    > For indoor rooms I suggest starting with palest yellow, such as 255 233 202
     
  3. henke37

    aa henke37

    Messages:
    1,928
    Positive Ratings:
    455
    Check the reflectivity settings of all those custom materials.
     
  4. CyanideNoodles

    CyanideNoodles L2: Junior Member

    Messages:
    70
    Positive Ratings:
    6
    Your yellow ended up looking like the seecond pic I posted..

    So far my best light is 188 188 188 150 with a constant of 188 188 188 150

    [​IMG]
    AS you can see tho it still isn't the best it still is...I can't really put my finger on it. And yeah, these aren't tf2 textures as I am doing a pokemon map with wind waker hd textures.


    How do i do that? I'm just pretty tired of never being able to use pink in TF2 because I have found 0 good light settings for it unless it's outdoors.
     
  5. Frosty Scales

    aa Frosty Scales

    Messages:
    85
    Positive Ratings:
    34
    env_tonemap_controller could help here. Set up a logic_auto to OnMapSpawn env_tonemap_controller SetAutoExposureMin 0.3 and OnMapSpawn env_tonemap_controller SetAutoExposureMax 0.4

    If those values are still too bright, lower both of them. If they're too dark, raise them. You can test this ingame with ent_fire.
     
  6. CyanideNoodles

    CyanideNoodles L2: Junior Member

    Messages:
    70
    Positive Ratings:
    6
    Most likely can not do that. My ent data is at 89% after putting it down as much as possible. I need to save room for the boss fight and obstacles in my dungeon, especially since I already had a crash on launch issue from too much ent data...:\ Darn this old engine.
     
  7. Frosty Scales

    aa Frosty Scales

    Messages:
    85
    Positive Ratings:
    34
    iirc TF2 spawns an env_tonemap_controller by default when you launch the map, so try just adding these outputs to your logic_auto:
    OnMapSpawn tonemap_global SetAutoExposureMin 0.3
    OnMapSpawn tonemap_global SetAutoExposureMax 0.4

    Hammer will say they're invalid, just ignore it
     
  8. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    To be honest, this doesn't even look like Source lighting to me, but that's probably because you set the light to constant — my guess is that it's remaining constant even when it bounces off the walls, floor, and other objects in the room and that's what's causing the oversaturated warm color. You're doing this to try to ape the lighting style of games like Wind Waker, right? You might just have to sacrifice that. Alternately, you can try editing all your brush materials to have a line like

    Code:
    $reflectivity [0.25 0.25 0.25]
    which would cut down on reflected light dramatically, as well as ensure that it's a neutral color.
     
    • Thanks Thanks x 1