View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006354 | The Dark Mod | Graphics | public | 10.12.2023 11:25 | 20.04.2024 13:24 |
Reporter | stgatilov | Assigned To | stgatilov | ||
Priority | normal | Severity | normal | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Product Version | TDM 2.11 | ||||
Target Version | TDM 2.13 | ||||
Summary | 0006354: Envmap stage works very differently with bumpmap and without | ||||
Description | Having bumpmap (even just _flat) selects different shader, which has several major differences. Moreover, bumpmapped version cannot be tuned up/down by color spawnargs. Given how long this issue has been around, it might be hard to change now. But I think it is worth trying... | ||||
Tags | No tags attached. | ||||
In the end, I simply decided to use the very same parameters for bumpmapped mode as are already used for non-bumpmapped one: 1) RGBA color speciified in material is applied 2) fresnel math is removed (visual difference is negligible anyway) 3) tonemapping is disabled Committed this: r10704 Added a mode where environment mapping stage on bumpmapped surface acts like a on a non-bumpmapped surface. But it is not yet enabled. It is controlled by r_envmapBumpyBehavior cvar. Setting to 1 switches to the new behavior. Added an announcement regarding breaking changes: https://forums.thedarkmod.com/index.php?/topic/22402-213-environment-mapping-bumpmap/ The main problem is about color, since previously it was hardcoded to 0.4, and now whatever values was set will apply. Here is the script which is going to fix this on all core assets and missions: r17018 Added a script to replace rgba colors with 0.4 on all environment map stages with bumpmap. |
|
Enabled new behavior by default: r10719 Set r_envmapBumpyBehavior to 1 (i.e. new behavior). |
|
Date Modified | Username | Field | Change |
---|---|---|---|
10.12.2023 11:25 | stgatilov | New Issue | |
10.12.2023 11:25 | stgatilov | Status | new => assigned |
10.12.2023 11:25 | stgatilov | Assigned To | => stgatilov |
10.12.2023 11:25 | stgatilov | Relationship added | related to 0006340 |
11.04.2024 21:08 | stgatilov | Note Added: 0016637 | |
20.04.2024 13:24 | stgatilov | Note Added: 0016658 |