View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006041 | DarkRadiant | Renderer | public | 31.07.2022 10:14 | 13.01.2024 05:32 |
Reporter | Dragofer | Assigned To | greebo | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0.0 | ||||
Target Version | 3.3.0 | Fixed in Version | 3.3.0 | ||
Summary | 0006041: Renderer doesn't take "translucent" keyword into account | ||||
Description | Toggling the "translucent" global keyword in the Advanced tab > Global Settings seems to have no effect on the preview - it's still fully opaque. I believe this should have the same effect as having 0.5 alpha? | ||||
Tags | No tags attached. | ||||
The "translucent" keyword just sets the material coverage to translucent, which means the engine won't try to auto-detect the coverage. Being marked as translucent has several implications: any translucent material is implicitly noshadows, it doesn't contribute to the depth fill buffer pass (which is the main cause for the resulting translucent effect) and it affects a couple of other checks and flags in the renderer I didn't fully explore. DR recognises the translucent keyword and calculates the correct opaque-ness of a material, but during rendering this is not fully respected yet. |
|
DarkRadiant: master 23503c8b 04.09.2022 12:13 Details Diff |
0006041: Translucent materials don't fill the depth buffer |
Affected Issues 0006041 |
|
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | ||
DarkRadiant: master e55ea90f 04.09.2022 12:13 Details Diff |
0006041: Add unit test checking coverage of a translucent material with an interaction stage |
Affected Issues 0006041 |
|
mod - test/Materials.cpp | Diff File | ||
mod - test/resources/tdm/materials/parsertest.mtr | Diff File | ||
DarkRadiant: master 85c0a334 04.09.2022 12:24 Details Diff |
0006041: An explicit "translucent" keyword will determine the material coverage to MC_TRANSLUCENT. |
Affected Issues 0006041 |
|
mod - radiantcore/shaders/ShaderTemplate.cpp | Diff File | ||
DarkRadiant: master 7734ee83 04.09.2022 12:30 Details Diff |
0006041: Setting or removing the "translucent" keyword should re-evaluate a material's coverage |
Affected Issues 0006041 |
|
mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
DarkRadiant: master 7092105f 04.09.2022 12:46 Details Diff |
0006041: Setting the "translucent" keyword implies noshadows |
Affected Issues 0006041 |
|
mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
DarkRadiant: master 08b67981 04.09.2022 12:55 Details Diff |
0006041: Lock the noshadows flag when translucent is set |
Affected Issues 0006041 |
|
mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
mod - test/Materials.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
31.07.2022 10:14 | Dragofer | New Issue | |
31.07.2022 15:05 | greebo | Status | new => acknowledged |
06.08.2022 15:22 | greebo | Category | GUI => Renderer |
06.08.2022 15:22 | greebo | Summary | Material Editor: preview doesn't take "translucent" keyword into account => Renderer doesn't take "translucent" keyword into account |
04.09.2022 07:13 | greebo | Status | acknowledged => confirmed |
04.09.2022 07:18 | greebo | Note Added: 0015230 | |
04.09.2022 07:18 | greebo | Note Edited: 0015230 | |
04.09.2022 12:56 | greebo | Assigned To | => greebo |
04.09.2022 12:56 | greebo | Status | confirmed => assigned |
04.09.2022 12:56 | greebo | Target Version | => 3.3.0 |
04.09.2022 12:58 | greebo | Changeset attached | => DarkRadiant master 23503c8b |
04.09.2022 12:58 | greebo | Changeset attached | => DarkRadiant master e55ea90f |
04.09.2022 12:58 | greebo | Changeset attached | => DarkRadiant master 85c0a334 |
04.09.2022 12:58 | greebo | Changeset attached | => DarkRadiant master 7734ee83 |
04.09.2022 12:58 | greebo | Changeset attached | => DarkRadiant master 7092105f |
04.09.2022 12:58 | greebo | Changeset attached | => DarkRadiant master 08b67981 |
04.09.2022 12:59 | greebo | Status | assigned => resolved |
04.09.2022 12:59 | greebo | Resolution | open => fixed |
04.09.2022 12:59 | greebo | Fixed in Version | => 3.3.0 |
04.09.2022 12:59 | greebo | Note Added: 0015232 | |
04.09.2022 12:59 | greebo | File Added: grafik.png | |
13.01.2024 05:32 | greebo | Status | resolved => closed |