View Issue Details

IDProjectCategoryView StatusLast Update
0004212The Dark ModDesign/Codingpublic10.10.2017 21:14
ReporterSteveL Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product VersionTDM 2.03 
Summary0004212: Glass cracks don't show up in player lantern
DescriptionGlass crack decals are light-interacting. They are invisible in no light.

In my test map for 0004182, the crack decals show up in normal lights from both sides of the glass. But the player lantern reveals them on only one side of the glass.
TagsNo tags attached.

Relationships

related to 0004182 resolvedSteveL Glass crack decals are not visible against skybox backdrop 
child of 0004177 new Func_fractures overhaul 

Activities

SteveL

SteveL

08.09.2015 21:20

reporter   ~0007765

It isn't just the player lantern, it's shadowcasting lights in general. Turns out we normally see glass cracks with only ambient light.

There's a problem with the way idBrittleFracture creates its model surfaces. The textures are facing the wrong way. In the case of 2-sided textures, they reflect ambient light from both sides, but shadowcasting lights only from the wrong side. One-sided textures simply face the inside of a brush func_fracture, so the near surface can't be seen.

We normally use glass textures which are both 2-sided and don't reflect any light anyway, so the problem doesn't show up until we cause some cracks.

The crack decals do reflect light, but they only reflect shadowcasting light from the wrong side. What we normally see is the ambient light reflected. We'll probably have to tone down the rgb setting in the shader when this is fixed.

Not got to the bottom of it yet.

Issue History

Date Modified Username Field Change
08.09.2015 18:04 SteveL New Issue
08.09.2015 18:04 SteveL Status new => assigned
08.09.2015 18:04 SteveL Assigned To => SteveL
08.09.2015 18:04 SteveL Relationship added child of 0004177
08.09.2015 18:07 SteveL Relationship added related to 0004182
08.09.2015 21:20 SteveL Note Added: 0007765
30.12.2015 15:19 SteveL Target Version TDM 2.04 =>
15.02.2017 04:38 grayman Assigned To SteveL =>
15.02.2017 04:38 grayman Status assigned => new