View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004212 | The Dark Mod | Design/Coding | public | 08.09.2015 18:04 | 10.10.2017 21:14 |
Reporter | SteveL | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | TDM 2.03 | ||||
Summary | 0004212: Glass cracks don't show up in player lantern | ||||
Description | Glass 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. | ||||
Tags | No tags attached. | ||||
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. |
|
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 |