Light seemingly passing through doors

A Forum Thread for Half-Life 2: Episode Two

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending kin37ik points.
  • Post: Give kin37ik your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.


Sign up

Already a Bananite? Login

okay, so ive been working on this little map for a few weeks and have a couple of prop_door_rotating in the map, with a dulled down light source behind it (accompanied by a static fluorescent light prop) so it doesn't flood the level out with excessive light, but i have this stupid problem where it seems the light cast off from a light_spot or even just a light, protrudes through the door, like it was non existent which is not what i want. is this because the light is not dynamic?


  • 3y
    will2k avatar
    will2k avatar Offline
    Super Moderator Joined 7y
    29,817 points Ranked 142nd
    30 medals 2 legendary 7 rare
    • 1st Place - Tutorials Contest Medal icon
    • 500 posts awarded Exemplary Feedback Medal icon
    • 50 posts awarded Exemplary Feedback Medal icon
    • 100 posts awarded Exemplary Feedback Medal icon
    • 200 posts awarded Exemplary Feedback Medal icon
    • Achieved Super Moderator clearance Medal icon
    will2k avatar
    Map Critic
    You're in a tight spot here because of the way Source handles lights.

    Your light or light_spot is calculated during vrad compile and the static lightmaps are baked onto the textures. VRAD does not not take prop_door_rotating into consideration when calculation lights/light obstruction as far as I know and the light will pass through the door as if it is not there.

    there are some solutions but they're not optimal:

    you can insert a "blocklight" thin brush (1 unit) inside the door so your light_spot doesn't go behind the door or you can play around with the falloff settings (50% and 0%) so that the light practically dims to zero when it reaches the door.

    In both cases, there is a downside in that when you open the door, the other side will not have light casting because of the blocklight or falloff. You can tweak the light intensity or add some dim lights at the other side of the door to cover this effect but this is up to you to decide depending on the map geometry, other lights and goal of the map.

    Hope this helps

    cosa dici! avatar
    cosa dici!
  • 3y
    kin37ik avatar
    kin37ik Offline
    Member Joined 5y
    hmmm, i see.

    *rubs chin*

    taking into consideration that it might look too weird, it may not be out of the question to use a dynamic light, it will most likely be the only dynamic light in the map, so i guess it cannot hurt to use a dynamic light
    Rooty tooty point n shooty


Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:


kin37ik avatar
kin37ik Offline
Member Joined 5y

Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!



Date Added
Date Modified
3y tracking pixel