This article's documentation is for anything that uses the Source engine. Click here for more information.

Info no dynamic shadow: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(20 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{wrongtitle|title=info_no_dynamic_shadow}}
[[File:Info no dynamic shadow example.jpg|thumb|Example of the issue. Brush side on the left side uses info_no_dynamic_shadow fix.]]
==Entity Description==
{{This is a|logical entity|internal=1|name=info_no_dynamic_shadow}}
Use this entity 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.


This entity is handled and removed during [[Vbsp]] processing.
It is used to mark surfaces that shouldn't receive [[Lighting#Dynamic_shadows|dynamic shadows]]. Useful to apply to walls and floors where shadows are drawn improperly, giving away the location of enemies.
{{note|This entire entity class is a hack to mask shadows appearing on the wrong side of walls.}}
{{internal entity note}}


==Keyvalues==
== Keyvalues ==
* '''sides'''
{{KV|Brush faces|intn=sides|sidelist|List of brush sides that shouldn't receive dynamic shadows.}}
: <sidelist>
 
[[Category:Entities]]
 
== See also ==
{{ent|shadow_control}}
 
[[Category:Lighting]]

Latest revision as of 05:17, 14 May 2025

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. 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.
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.


See also

shadow_control