info_no_dynamic_shadow

From Valve Developer Community
Jump to navigation Jump to search
Example of the issue. Brush side on the left side uses info_no_dynamic_shadow fix.

info_no_dynamic_shadow is an internal logical entity available in all Source Source games.

It is used to mark surfaces that shouldn't receive dynamic shadows controlled by shadow_control. Useful to apply to walls and floors where shadows are drawn improperly, giving away the location of enemies.

Note.pngNote: This entire entity class is a hack to mask shadows appearing on the wrong side of walls.
Cpp.pngCode: 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.pngNote: 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.

Keyvalues

Brush faces (sides) <sidelist>
List of brush sides that shouldn't receive dynamic shadows.
Name (targetname) <string>
Name of this entity. Displayed in Hammer's 2D views and Entity Report. No effect in-game, nor in map compilers.

See also

shadow_control