Adjustable Environmental Brightness
Moderator: GZDoom Developers
- 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
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.
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.
Re: Adjustable Environmental Brightness
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.
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.
- 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
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.
Re: Adjustable Environmental Brightness
Ah, yeah, I forgot about that, that did exist once.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Adjustable Environmental Brightness
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.
But I have no idea if the requested feature is really the same.
Re: Adjustable Environmental Brightness
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...
- Caligari87
- Admin
- Posts: 6174
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: Adjustable Environmental Brightness
DarkDoomZ has a fairly robust light curve adjustment system now (including brightening), take a look and see if that meets your needs?
Re: Adjustable Environmental Brightness
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.
- Caligari87
- Admin
- Posts: 6174
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: Adjustable Environmental Brightness
By default, yes, because it's designed to make Doom... DarkZ
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.
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.