Weird shadow problem

Discussion in 'Mapping Questions & Discussion' started by Darth Gman, Sep 12, 2009.

  1. Darth Gman

    Darth Gman L1: Registered

    Messages:
    22
    Positive Ratings:
    4
    So I just found out that with shadow_control you can have awesome prop casted shadows! (dynamic ones).
    So I started experimenting with it.
    The thing is, the shadow of my character or all other props is rendered in only one direction. The direction of the light_environment.
    To add salt to the wound, even if I am under a solid roof, the shadow is still drawn...
    To add more salt, even if I get really close to another light source, the shadow doesn't change direction (or draw two shadows at once), but it stays the same.
    Here's a picture explaining what I mean.

    http://i28.tinypic.com/23lzf6h.jpg

    Here's another picture that's taken in RED's last spawn, with all the nice props that add to the atmosphere.

    http://i29.tinypic.com/fp1noz.jpg

    Even though there is clearly a light source in the middle of the room, the shadows are still drawn facing the way of where the sunlight is coming from.

    And one more thing, how do I make the vents look more white? They are white in the Editor, they get blue in the game... D:
     
  2. jpr

    aa jpr

    Messages:
    1,095
    Positive Ratings:
    507
    Your vent is halfway through the ceiling, and its lightsource is in a spot where the lighting is blue... You can add an external light source to fix it. As for the shadow problem, I'm 95% sure you can't do anything about it.
     
    • Thanks Thanks x 1
  3. Darth Gman

    Darth Gman L1: Registered

    Messages:
    22
    Positive Ratings:
    4
    Thanks about that... I checked about the shadow problem on Badwater Basin, and it was the same there as it was in my map.

    What a shame :(
     
  4. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,468
    You can use an info_no_dynamic_shadow to omit certain brush faces from the dynamic shadows. Valve used them on Ravine.
     
    • Thanks Thanks x 1
  5. Darth Gman

    Darth Gman L1: Registered

    Messages:
    22
    Positive Ratings:
    4
    Yes, I read about that on VALVe's Dev wiki ;)
    Thanks for the help anyways :D
     
  6. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    34
    I used them on Deadwood as well. Nice little entity that is.