View Issue Details

IDProjectCategoryView StatusLast Update
0005172The Dark ModCodingpublic21.03.2020 17:43
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Product VersionTDM 2.08 
Target VersionTDM 2.09 
Summary0005172: Improve interaction culling: case when player-visible object is not visible from light
DescriptionThe engine does not cull away some shadows when it can.

Consider a typical scenario of two large rooms with one small open portal between them,
Suppose that an object is near the common wall between rooms, but far from the portal on this wall.
If the object is behind the wall, then player does not see it, and in most cases its shadow is culled away.

If the object is in front of the wall but the light source is behind the wall, then its shadow is also not visible.
In fact, in this case the light does not light the object at all.
The engine can detect this by seeing that light rays cannot pass into the object's area through the portal.
It seems that such interaction is not culled away, which is an opportunity for improvement.
Additional InformationExplained on dev forums:
  https://forums.thedarkmod.com/index.php?/topic/20195-performance-regression-shadowhide/&do=findComment&comment=442331
TagsNo tags attached.

Relationships

related to 0005084 resolvedstgatilov Interaction culling and Shadowhide WIP performance 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
09.03.2020 04:31 stgatilov New Issue
09.03.2020 04:31 stgatilov Status new => assigned
09.03.2020 04:31 stgatilov Assigned To => stgatilov
09.03.2020 04:32 stgatilov Relationship added related to 0005084
21.03.2020 17:43 stgatilov Target Version => TDM 2.09