View Issue Details

IDProjectCategoryView StatusLast Update
0006150The Dark ModGraphicspublic27.12.2024 07:29
ReporterDaft Mugi Assigned To 
PrioritynormalSeveritynormalReproducibilityhave not tried
Status newResolutionopen 
Product VersionTDM 2.10 
Summary0006150: On Launch, Distorted First Frame When AA
DescriptionWhen launching the game with antialiasing turned on, there is a distorted frame before the main menu is shown. After the brief distortion, the main menu displays correctly and the game can be played without issue.

With antialiasing turned off, there is not any distortion when launching the game.

Forum Discussion (with screenshots): https://forums.thedarkmod.com/index.php?/topic/21626-bug-on-launch-distorted-first-frame-when-aa/
Steps To ReproduceLaunch game from desktop.
Additional InformationLinux, Ubuntu 22.04
AMD Radeon RX 6000 Series
OpenGL version: 4.6 (Core Profile) Mesa 22.0.5 core
TagsNo tags attached.

Activities

Daft Mugi

Daft Mugi

26.12.2024 23:01

developer   ~0016928

Last edited: 27.12.2024 07:29

This was fixed by the following commit:

```
r10914 | stgatilov | 2024-12-08 | 8 lines

Added a way to force-disable tonemapping everywhere if 3D game is not running (r_tonemapOnlyGame3d).

This can be useful because the new tonemapping settings affect main menu rather negatively.
Well, in fact even the simple gamma already affects cinematics the bad way, introducing ugly color banding on dark colors.

Note: normally we should do tonemapping after 3D game is rendered but before GUI overlays are rendered.
But this is a hard topic, because some of the GUI overlays are not actually GUI (e.g. underwater overlay), so this requires some kind of manual tagging.
Better leave this for the future.
```

When launching TDM:
* r_tonemapOnlyGame3d 1: first frame is fine.
* r_tonemapOnlyGame3d 0: first frame is distorted.

NOTE: I didn't mark this as "resolved" because things might change during 2.13-dev.

Issue History

Date Modified Username Field Change
04.11.2022 21:22 Daft Mugi New Issue
26.12.2024 23:01 Daft Mugi Note Added: 0016928
27.12.2024 07:29 Daft Mugi Note Edited: 0016928