Any of the mat_monitorgamma related commands seem to not do anything in game.
Tested in staging, unstable and default branches and all have the same issue. These commands are also non-functional in base Portal 2, but they are functional in Portal 1.
Portal 1 has gamma controls present inside the UI (which directly affect the mat_monitorgamma command), and although it doesn't have the option to change the gamma mode to TV in the UI, the command still works if entered manually.
Portal 2 does not have either of these settings inside it's UI, leading me to believe that in Portal 2, they're just leftovers from old source engine versions/the console versions of the game (since they are functional and present in the UI for the console versions).
Just to note: mat_brightnessis functional, however it gives worse results than what mat_monitorgamma provides, as it just literally brightens the whole image, instead of working how increasing the gamma works (sorry idk how to explain that lol, just check what happens in Portal 1 when it's messed with :p)
To Reproduce
Load into a map (doesn't matter what map).
Open the console and enter mat_monitorgamma [test out different values] or enter mat_monitorgamma_tv_enabled 1.
Observe that nothing happens.
Issue Map
N/A
Expected Behavior
There's two ways you could go about fixing this from what I can think of:
Describe the bug
Any of the
mat_monitorgamma
related commands seem to not do anything in game.Tested in staging, unstable and default branches and all have the same issue. These commands are also non-functional in base Portal 2, but they are functional in Portal 1.
Portal 1 has gamma controls present inside the UI (which directly affect the
mat_monitorgamma
command), and although it doesn't have the option to change the gamma mode to TV in the UI, the command still works if entered manually.Portal 2 does not have either of these settings inside it's UI, leading me to believe that in Portal 2, they're just leftovers from old source engine versions/the console versions of the game (since they are functional and present in the UI for the console versions).
Just to note:
mat_brightness
is functional, however it gives worse results than whatmat_monitorgamma
provides, as it just literally brightens the whole image, instead of working how increasing the gamma works (sorry idk how to explain that lol, just check what happens in Portal 1 when it's messed with :p)To Reproduce
mat_monitorgamma [test out different values]
or entermat_monitorgamma_tv_enabled 1
.Issue Map
N/A
Expected Behavior
There's two ways you could go about fixing this from what I can think of:
Operating System
Windows 11 Home 23H2 Build 22631.4317