Shadows through walls

Discussion in 'Mapping Questions & Discussion' started by ThirdEye, Jul 13, 2019.

  1. ThirdEye

    ThirdEye L1: Registered

    Messages:
    25
    Positive Ratings:
    1
    My resupply locker keeps casting its shadows through the spawn room wall to the outside.

    The locker is placed is like this and the outside shadows are to the top left.
    2.jpg

    While outside it is something like this:
    123.png
     
  2. henke37

    aa henke37

    Messages:
    2,019
    Positive Ratings:
    484
    Did you cut the floor brush along the wall? Otherwise, dynamic shadows are just plain broken in source.
     
  3. ThirdEye

    ThirdEye L1: Registered

    Messages:
    25
    Positive Ratings:
    1
    The wall is fully on the floor so there is no space between them, making them intersect could maybe solve the problem but then visually it would look terrible. Any more advice because I have seen that not to be a problem in other maps?
     
    Last edited: Jul 13, 2019
  4. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    1,123
    Positive Ratings:
    766
    You could disable dynamic shadows for the resupply locker prop entirely. If you want it to still cast shadows, asuming the locker never moves, you could use a blocklight brush for lightmap shadows, which don't have this bug. Alternatively, info_no_dynamic_shadow can be used to define brush faces you don't want dynamic shadows to be cast upon, which is useful in instances like this where dynamic shadows are bleeding through walls, but this also means expected dynamic shadows, such as player shadows, won't appear. (Although players already don't see their own shadow so its not like those need to be super-realistic anyway.)