dpjudas / UT99VulkanDrv

Vulkan, Direct3D 11 and Direct3D 12 renderer for Unreal Tournament (UT99)
Other
76 stars 8 forks source link

Add gamma correction for screenshots #26

Closed SeriousBuggie closed 7 months ago

SeriousBuggie commented 9 months ago

Currently screenshots take in game too dark: Shot00853

When on screen it look much brighten, since applied gamma: img

D3D9 use nice feature GammaCorrectScreenshots: img

Can we add such option here (both, vulkan and d3d11)?

SeriousBuggie commented 7 months ago

Implemented. Thanks. https://github.com/dpjudas/UT99VulkanDrv/commit/e80c44f384b3efb87af5103189425dabb8d993ee https://github.com/dpjudas/UT99VulkanDrv/commit/e1cef0c4d4ff2ff59a500dad2662d13c8eb587cf