View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004367 | The Dark Mod | Coding | public | 31.08.2016 05:11 | 01.12.2016 21:09 |
Reporter | nbohr1more | Assigned To | nbohr1more | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | ALL | ||||
Product Version | TDM 2.04 | ||||
Summary | 0004367: nodiffuse and nobump Light Entity args do not work | ||||
Description | Broken form tracker 4292 nodiffuse and nobump Light Entity args do not work It may be possible to get this working in tr_render.cpp but it seems that Bump and Diffuse are tangled together in material.cpp and the code to support these options is lacking compared to the nearly complete nospecular setup. | ||||
Tags | No tags attached. | ||||
related to | 0004292 | resolved | nbohr1more | "nospecular" light entity argument does not work |
related to | 0003684 | new | Investigate GPL Renderer Improvements |
To get around possible wonky branching logic, just (logical-or) the failure against a known working failure condition: tr_render.cpp if (!surfaceRegs[ surfaceStage->conditionRegister ] || backEnd.vLight->lightDef->parms.noDiffuse ) ? |
|
This works on nospecular but "nobump and nodiffuse" still don't work using the same method. I have a monstrous idea of duplicating the entire evaluation chain for each entity arg but that's probably not a good way forward. The other option is to make a ton of alternate ARB shaders without these stages. Not ideal... |
|
Date Modified | Username | Field | Change |
---|---|---|---|
31.08.2016 05:11 | nbohr1more | New Issue | |
31.08.2016 05:11 | nbohr1more | Status | new => assigned |
31.08.2016 05:11 | nbohr1more | Assigned To | => nbohr1more |
31.08.2016 05:12 | nbohr1more | Relationship added | related to 0004292 |
31.08.2016 16:39 | nbohr1more | Note Added: 0008290 | |
31.08.2016 16:39 | nbohr1more | Note Edited: 0008290 | |
31.08.2016 16:43 | nbohr1more | Note Edited: 0008290 | |
31.08.2016 16:54 | nbohr1more | Note Edited: 0008290 | |
31.08.2016 17:06 | nbohr1more | Target Version | TDM 2.06 => TDM 2.05 |
01.09.2016 12:57 | nbohr1more | Note Added: 0008291 | |
01.09.2016 12:57 | nbohr1more | Target Version | TDM 2.05 => |
01.09.2016 13:44 | nbohr1more | Note Edited: 0008291 | |
01.12.2016 21:09 | nbohr1more | Relationship added | related to 0003684 |