Info no dynamic shadow: Difference between revisions
Jump to navigation
Jump to search
Note:This entire entity class is a hack to mask shadows appearing on the wrong side of walls.
Code:If making a custom SDK mod, merge this PR that properly fixes the shadow bleeding issue in the C++ code and makes most usages of this entity obsolete.
Note:This is an internal entity. When the map is compiled by VBSP, it is processed and then removed; it does not exist when the map is running.
No edit summary |
SirYodaJedi (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
{{note|This entire entity class is a hack to mask shadows appearing on the wrong side of walls. | {{note|This entire entity class is a hack to mask shadows appearing on the wrong side of walls. | ||
{{ | {{codenote|If making a custom SDK mod, merge [https://github.com/ValveSoftware/source-sdk-2013/pull/1686 this PR] that properly fixes the shadow bleeding issue in the C++ code and makes most usages of this entity obsolete.}} | ||
}} | }} | ||
Revision as of 15:41, 2 December 2025
info_no_dynamic_shadow is an internal logical entity available in all
Source games.
It is used to mark surfaces that shouldn't receive dynamic shadows. Useful to apply to walls and floors where shadows are drawn improperly, giving away the location of enemies.
Keyvalues
- Brush faces (sides) <sidelist>
- List of brush sides that shouldn't receive dynamic shadows.