https://bugs.winehq.org/show_bug.cgi?id=37705
--- Comment #20 from Sergey Isakov isakov-sl@bk.ru --- Let me analyse again the origin of the bug. Description: 1. The screen became dark after enter some scene.Easy to check with begin of Crack Hack company. First scene id mostly black. Othe scenes looks normal until you go to next scene. I have a saved game at some good place and I know if I move camera to left then the screen will fall into darkness. 2. The darkness remains even you return into main menu. It will shown in darken colors. Host OS works in normal brightness. It affectes on all wine drawing but not on host OS. 3. You may change some video tunings in main menu which cause the game reload resorces. It helps! The main menu will shown in normal brightness and you may return to game with normal brightness until you enter again bad scene. 4. It is happen with Radeon and Nvidia, with Ubuntu and macOS so it is not depending on host drivers. 5. There is one more bug related to the game bug 38621 and bug 39546 with additional information. It is related to this bug because we always use native d3dcompiler, the game is not working with builtin in wine one. But with builtin compiler the brightness is always good!!!
So I propose that the game uses a shader in some scene which can't be compiled with builtin d3dcompiler but this shader causes brightness problem if compiled by native compiler. The question is to find the shader in 4Gb logs attached to this bugs or suppose what is the error in d3dcompiler provided by wine. As well it will be good to hear some explanations from people knowning shaders language what is the possible reason for such brightness behaviour.