sp614x / optifine

1.8k stars 418 forks source link

[Request] A more dynamic brightness slider, darker than moody and brighter than bright #1518

Open genandnic opened 6 years ago

genandnic commented 6 years ago

In vanilla's options.txt, the value 'gamma' determines how dark the game can get. Normally you would set this value using the vanilla brightness slider; moody sets gamma to 0.0, and bright sets gamma to 1.0. But you can manually adjust this setting to a value above 1.0, or even to a negative value, by directly editing options.txt.

I think the results from tinkering with this value are fantastic: https://imgur.com/a/W0cCcTp

But you can't get these results using the vanilla brightness slider. You have to keep editing options.txt if you want to play the game with abyssally dark nights/caves. A more dynamic brightness slider that gives you more control over the gamma level in your game would be amazing!

Regnander commented 6 years ago

I like the -0.5 gamma screenshot. Combine it with a torch in the left hand and enabling Dynamic Lights, and then you have the perfect setting for a Silent Hill 1-themed horror map:

640

Regnander commented 6 years ago

By the way, have you thought about how this should be implemented? I'm suggesting a separate button to toggle the extended interval for the brightness slider, since I suspect that most people is fine with the regular interval.

However, this comes with a cost; the slider will become more sensitive because of the wider interval (-0.5 to 1.5 instead of 0.0 to 1.0). This issue could of course be countered by extending the slider like how the Fullscreen resolution slider is in 1.13 pre-releases, but that seems a bit excessive since it takes up two button slots:

2018-07-12_20 48 10

hafarooki commented 6 years ago

+1 I think the range should be increased

Madis0 commented 6 years ago

@Regnander It could be done just fine inside the current slider, just report values from -50% to +150%. And the width shouldn't be a problem either, look at how render distance works (16 steps more than normal) :stuck_out_tongue: