While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- Valve dev details more on the work behind making Steam for Linux more stable
- Proton Experimental adds DLSS 3 Frame Generation support, plus fixes for Dragon Age: The Veilguard, Rivals of Aether II and more
- Direct3D to Vulkan translation layer DXVK v2.5 released with rewritten memory management
- > See more over 30 days here
-
Steam Deck OLED: Limited Edition White and Steam Deck A…
- chickenb00 -
Half-Life 2 free to keep until November 18th, Episodes …
- jarhead_h -
Classic Unreal Tournament and Unreal now easier to down…
- emphy -
Steam Deck OLED: Limited Edition White and Steam Deck A…
- CatKiller -
Steam Deck OLED: Limited Edition White and Steam Deck A…
- Craggles086 - > See more comments
- Minecraft Exit Code 1
- wvstolzing - Do you think that Steam will become open source in the future?…
- RokeJulianLockhart - Steam and offline gaming
- Dorrit - Weekend Players' Club 11/15/2024
- Ehvis - What do you want to see on GamingOnLinux?
- Liam Dawe - See more posts
View PC info
Under Windows I can tweak the Brightness in the Catalyst Settings.
But from Performance Standpoint the Game
runs better then under the nativ OS.
View PC info
for example
xrandr --output DP-4 --gamma 1.50:1.50:1.50
ofc use output of your monitor port and to change it back do the same but gamma values 1.0
you can script it and keybind the scripts to change when needed also
Last edited by Xpander on 18 February 2023 at 4:41 pm UTC
#include "ReShade.fxh"
#define BRIGHTNESS_BOOST 0.2f // 0.0f no boost, 1.0f full white
float3 PS_HSLFXmain(float4 vpos : SV_Position, float2 texcoord : TexCoord) : SV_Target
{
float3 input = tex2D(ReShade::BackBuffer, texcoord).rgb;
return clamp(input + BRIGHTNESS_BOOST, 0.0, 1.0);
}
technique HSL
{
pass
{
VertexShader = PostProcessVS;
PixelShader = PS_HSLFXmain;
}
}
Save the code as HSL.fs and save it in the configured reshade dir. Adjust brightness from 0.0 to 1.0 with the BRIGHTNESS_BOOST constant.
You need the reshade headers and a config like this:
effects = HSL
reshadeTexturePath = "/home/user/.config/vkBasalt/reshade/textures/"
reshadeIncludePath = "/home/user/.config/vkBasalt/reshade/shaders"
HSL = "/home/user/.config/vkBasalt/reshade/shaders/HSL.fx"
There is however most likely a much better and more straightforward way to do this.
Last edited by whizse on 18 February 2023 at 9:26 pm UTC
ANy chance you can provide a bit more guidance here? I'm just getting my feet wet in Ubuntu 22.04 and so far my only complaint is the darkness of Hunt.
View PC info
But other than that. For singleplayer games. Yeah thats also one way to do it. or maybe even use the fakehdr.fx and tweak the values there.
However as Xpander mentioned, since this is a multiplayer game you're probably better off not using vkBasalt and just adjusting the gamma.
Last edited by whizse on 23 February 2023 at 1:58 pm UTC