View Issue Details

IDProjectCategoryView StatusLast Update
0005189The Dark ModCodingpublic22.03.2020 02:22
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeveritynormalReproducibilityN/A
Status assignedResolutionopen 
Product VersionTDM 2.08 
Target VersionTDM 2.09 
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:
  https://forums.thedarkmod.com/index.php?/topic/20224-arealock-keyword/&do=findComment&comment=444731
TagsNo tags attached.

Activities

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