Lightitng Help

Discussion in 'Mapping Questions & Discussion' started by Svode, Aug 3, 2016.

  1. Svode

    aa Svode Take a Chance on Me

    Messages:
    160
    Positive Ratings:
    372
    I'm trying to light up a spawnroom, but whenever I do so, a glare appears where the entity was placed. How do I stop this from happening? Also, I would like some tips on what kind of lighting I should use to light up a spawnroom.
     
  2. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,213
    There are two factors contributing to this, as you say, glare: (1) That's how omnidirectional light sources work IRL; they cast brighter and more direct light on surfaces closest to them. Source has a very realistic lighting model and expects you to play along by making your light sources as true to life as possible, for the most part. (2) You probably compiled with HDR enabled, and by default, HDR has very extreme exposure limits that amplify contrasts in lighting levels.

    If your map is in the early testing phases and you're just placing lights for the sake of not being too dark to play in, I wouldn't worry too much about #1 and would recommend remedying #2 by just compiling without HDR for now. Eventually, you'll want to replace them with more normal light sources, mostly light_spot entities, which only cast light in one direction, usually down. This will get rid of your problem permanently. Omnidirectional light is only used on very rare occasions in Source games, for things like bare light bulbs or candles.
     
Tags: