Adjust gamma/brightness?
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Adjust gamma/brightness?
How do you adjust gamma in-game,cause I am having gamma problem(screen is too dark in-game).
I noticed there is option in config file called gamma=25,I changed it to 30,99,999,999,but it didnt have any noticeable effect in-game,just want to ask what is an optimal value for that gamma setting?
Thanks.
I noticed there is option in config file called gamma=25,I changed it to 30,99,999,999,but it didnt have any noticeable effect in-game,just want to ask what is an optimal value for that gamma setting?
Thanks.
tasks postponed until the trunk is relatively stable again.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Adjust gamma/brightness?
The current source ignores the gamma setting. I sent a patch to enable it to the mailing list (though I fear something might have eaten it on its way since it hasn't arrived yet...).
We want information... information... information.
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: Adjust gamma/brightness?
Hopefully it will reach its destination soon,seems the set gamma function 'pie_SetGammaValue(float val)' is 'empty' in piestate.c in the source I have.cybersphinx wrote: The current source ignores the gamma setting. I sent a patch to enable it to the mailing list (though I fear something might have eaten it on its way since it hasn't arrived yet...).
tasks postponed until the trunk is relatively stable again.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Adjust gamma/brightness?
We want information... information... information.
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: Adjust gamma/brightness?
It worked great except the raise/lower gamma hotkeys were not working in-game for some reason(maybe I did something wrong while modifying the source)
Thanks alot.
Thanks alot.
tasks postponed until the trunk is relatively stable again.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Adjust gamma/brightness?
Oh, you have to remove your keymap.map file whenever keybindings are added/changed. Not very convenient, one of the many things on the todo list...
We want information... information... information.
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: Adjust gamma/brightness?
Thanks for the tip,the key binding for raise_gamma and lower_gamma show up in in-game key bind gui now,but it still doesnt work.I checked the stderr log,seems setGammaValue only got called 1 time upon game initialization,even though I did ' alt+'num plus' ' several times in in-game menu.cybersphinx wrote: Oh, you have to remove your keymap.map file whenever keybindings are added/changed. Not very convenient, one of the many things on the todo list...
tasks postponed until the trunk is relatively stable again.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Adjust gamma/brightness?
The keys work only in the 3D view, not in the menu. And there's a problem of the gamma being reduced by 0.05 upon returning to the menu if you have changed the gamma in-game... I have to investigate that. EDIT: new patch.
Last edited by cybersphinx on 08 Oct 2006, 23:56, edited 1 time in total.
We want information... information... information.
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: Adjust gamma/brightness?
The hotkeys alt+'num plus' and alt+'num minus' work great in-game and the gamma value saved to config properly with your patch,thanks.
tasks postponed until the trunk is relatively stable again.