JKSunny / EternalJK

Effort to maintain and improve OpenJK
GNU General Public License v2.0
11 stars 1 forks source link

Vulkan: Gamma problem #10

Closed divatstaff closed 7 months ago

divatstaff commented 7 months ago

Yo

I've been using Vulkan renderer for quite some time in the Tayst version and it works well, unless if i want to take screenshot (windows+shift+s, or just regular print screen) or watch back my shadowplay clips it messes up with the gamma. Feels like it ignores my value of r_gamma 1.5 and makes the pictures, videos with default value (1) and its super dark. I tested it, this problem only occurs while using Vulkan with other renderers its fine.

Here's some example, both made with the same gamma yet the Vulkan one makes it really dark. image image2

JKSunny commented 7 months ago

@divatstaff

Hey, Thanks for detailed info.

I'll put this on the todo list.

JKSunny commented 7 months ago

@divatstaff

What setting do you have for cvar: /r_fbo
If its 0, can you try setting it to 1 and try again?

divatstaff commented 7 months ago

image It seems to work for the gamma part, but now i have performance issues seems like my console in a different resolution than my actual game. Really weird

JKSunny commented 7 months ago

@divatstaff

Perhaps you accidentaly set the cvar /r_ext_supersample to 1, it doens't have proper console scaling yet. Use /r_ext_multisample 4 or 8 instead for MSAA

divatstaff commented 7 months ago

Oh yea you were right. It works now, stable fps, the gamma thingy gone also. Thanks

JKSunny commented 7 months ago

No problem. Glad the issue is resolved, closing this now