StrataSource / Engine

Issue tracker for Strata Source
47 stars 2 forks source link

Bug: "mat_monitorgamma", "mat_monitorgamma_tv_enabled" and "mat_monitorgamma" related commands are non-functional. #1239

Closed Rip-Rip-Rip closed 21 hours ago

Rip-Rip-Rip commented 1 day ago

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 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

  1. Load into a map (doesn't matter what map).
  2. Open the console and enter mat_monitorgamma [test out different values] or enter mat_monitorgamma_tv_enabled 1.
  3. 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:

Operating System

Windows 11 Home 23H2 Build 22631.4317

Gocnak commented 21 hours ago

Fixed in next release.