Adjustable Environmental Brightness

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Contact:

Adjustable Environmental Brightness

Post by sinisterseed »

This one proves a bit more problematic to explain.

Because it's based on something I have seen in action but... didn't understand well enough to properly explain. It would be a second type of "gamma correction" of sorts, but one that actually affects the environmental brightness of the maps. I think it's time for something else to step in and more-or-less replace the old gamma correction, which makes everything look horribly washed out when increased.

For an example of this in action I'd suggest checking out GEC GZDoom Master Edition. As I said, I have no idea how exactly was this achieved in that port (let alone if the implementation was optimal), but it's kind of what the "D64 Brightness" option under Display appears to do, and it's so much nicer than the old fashioned gamma correction.
Last edited by sinisterseed on Sat Dec 14, 2019 2:26 pm, edited 1 time in total.
User avatar
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Adjustable Environmental Brightness

Post by Rachael »

What you're suggesting is essentially a cheat, in my opinion. Which I have no real problem with, but that's not something that many folks are going to be happy with unless it's locked up behind a cheat-blocked CVAR or command.

But I do think this is a good idea, regardless, there's been many times when I've wanted to see through the darkness in a map without using the light-amp goggles.
User avatar
phantombeta
Posts: 2084
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Adjustable Environmental Brightness

Post by phantombeta »

I'm fairly sure that used to be an option (Ambient light level or something), and it was removed some time ago AFAIK specifically because it caused problems for mappers, since it meant there was no way to make something look the same for everyone.
User avatar
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Adjustable Environmental Brightness

Post by Rachael »

Ah, yeah, I forgot about that, that did exist once.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Adjustable Environmental Brightness

Post by Graf Zahl »

That old option clamped the bottom light level and proved to be a genuine hassle for mappers because it interfered with map design - and it won't come back.
But I have no idea if the requested feature is really the same.
User avatar
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Adjustable Environmental Brightness

Post by Rachael »

I don't know if it's possible, but I had the idea of fading out the shading multiplicatively, ie if you set it to "0.5" then you get halfway between a properly shaded scene, and fullbright. Which would be quite enough to really cheat most wads, but you could set it to a lower value if you wanted...
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Adjustable Environmental Brightness

Post by Caligari87 »

DarkDoomZ has a fairly robust light curve adjustment system now (including brightening), take a look and see if that meets your needs?

8-)
User avatar
Sinael
Posts: 244
Joined: Tue Oct 18, 2011 8:57 am

Re: Adjustable Environmental Brightness

Post by Sinael »

I tried DarkDoomZ and it "squishes" brightness, lessening the contrast between bright and dark areas. Or maybe Im setting it up wrong, in that case I'd like to have a working config that bumps the brightness of every sector by a specified amount (~22 or so) but keeping the contrast.
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Adjustable Environmental Brightness

Post by Caligari87 »

By default, yes, because it's designed to make Doom... DarkZ :P

However, check under Advanced Options and you'll see options named Pre-Gain and Post-Gain, and Min. Light Level. The first two apply separate independent adjustments before and after the contrast darkening curve, and the last one clamps the final light level to whatever minimum you set.

So for example, if you want to simply brighten the level, put your mode/preset on Disable and set pre-gain to +32 or something. If you want to adjust the contrast from there, play around with the Compress or Crush modes and other gain adjustments. If you like the overall level lighting but there's just a few bits that are WAY too dark, raise the minimum clamp to something higher.

8-)
Post Reply

Return to “Feature Suggestions [GZDoom]”