Shadow Glitch

Discussion in 'Mapping Questions & Discussion' started by XEnderFaceX, Sep 24, 2017.

  1. XEnderFaceX

    XEnderFaceX L4: Comfortable Member

    Messages:
    173
    Positive Ratings:
    50
    Hi

    So, i built a Sentry above Reds Spawnroom, and somehow you can see the shadows..

    Why? Can i avoid this?
     

    Attached Files:

  2. MOCOLONI

    MOCOLONI L5: Dapper Member

    Messages:
    243
    Positive Ratings:
    60
    You can't. It's part (but not actually an intended feature) of the current Source Engine. CS:GO, for example, got rid of such things because it now uses dynamic shadows (a.k.a. the shadows appear only when models are exposed to the sunlight). You could change the angles of the shadow_control entity but it's not a solution because you already set a specific angle and because the shadows may appear somewhere else.
     
    • Respectfully Disagree Respectfully Disagree x 2
  3. ics

    aa ics http://ics-base.net

    Messages:
    723
    Positive Ratings:
    438
    Use entity info_no_dynamic_shadow and pick the faces you want no shadows to be cast for. I use this in many of my maps where there are 2 levels on top of eachothers and route downside.

    @MOCOLONI just fyi too.
     
    • Thanks Thanks x 1
  4. iiboharz

    aa iiboharz Meme Queen

    Messages:
    720
    Positive Ratings:
    1,052
    This particularly happens though when shadows are being cast against thin brushes. Thin walls or floors are usually the culprit here. Keeping your walls or floors at least 8 units thick should fix this.
     
    • Like Like x 1
    • Respectfully Disagree Respectfully Disagree x 1
  5. ics

    aa ics http://ics-base.net

    Messages:
    723
    Positive Ratings:
    438
    Its not about thickness at all cases, its about the brush structrure and light_environment angle affects too. But that entity was added for a reason, so the shadows wont come down through the floor if someone is above the player in 2nd floor.

    It isnt always thickness that matters, you can even have 32 thick brush and it might still cast the shadow underneath at the wall in downstairs. This happens mostly with ramps and brushes that arent covering top side of the walls, but kinda meet at the same height and not the ceiling going top of the wall brush.
     
  6. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    CSGO does have indoor shadows, actually; they're just nondescript blobs like in Mario 64 and such. They must use slightly different tech or something because I've never heard of the game having this issue.
     
  7. henke37

    aa henke37

    Messages:
    1,933
    Positive Ratings:
    456
    It's one of the great shames of the source engine. It's a bug they never got around to fixing and instead went to the trouble of building a system to hide the effects of it in obvious spots.
     
  8. XEnderFaceX

    XEnderFaceX L4: Comfortable Member

    Messages:
    173
    Positive Ratings:
    50
    Thank you it Worked! :)
     

    Attached Files:

    • Like Like x 1
Tags: