View Issue Details

IDProjectCategoryView StatusLast Update
0005189The Dark ModCodingpublic05.12.2020 12:33
Reporterstgatilov Assigned Tostgatilov  
Status assignedResolutionopen 
Product VersionTDM 2.08 
Target VersionTDM 2.10 
Summary0005189: shadowworldonly light keyword for shadows optimization
DescriptionThe engine has "noshadows" spawnarg for lights, which makes the light rays pass through everything.
This keyword is often used to optimize away shadows drawing, which is often pretty expensive, especially for complex geometry with stencil implementation.
However, this keyword makes the light pass through brush walls (which is undesirable for mappers) and hence disables some useful area/portals optimization (performance).

The idea is to add "shadowworldonly" spawnarg for such optimization purposes.
For a light with this spawnarg, shadows from worldspawn brushes (and patches) are enabled, but shadows from any entities (and models) are disabled.
This greatly reduces shadow drawing complexity, makes lights behave in a well-defined way (stable w.r.t future engine changes), and allows to use visportal-related optimizations (like light flow and interaction culling, including 0005172).
Additional InformationSee discussion:
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
22.03.2020 02:19 stgatilov New Issue
22.03.2020 02:19 stgatilov Status new => assigned
22.03.2020 02:19 stgatilov Assigned To => stgatilov
22.03.2020 02:22 stgatilov Additional Information Updated View Revisions
05.12.2020 12:33 stgatilov Target Version TDM 2.09 => TDM 2.10