You can see things up close in the dark

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Sodaholic
Posts: 1959
Joined: Sat Nov 03, 2007 4:13 pm

You can see things up close in the dark

Post by Sodaholic »

Unlike vanilla Doom, in ZDoom, even in pitch black areas, if you are close to something, it fades in to full bright. It shouldn't be doing this, as it wasn't the original behavior, and besides, it looks pretty bad.
User avatar
DaMan
Posts: 727
Joined: Fri Jan 01, 2010 7:14 am

Re: You can see things up close in the dark

Post by DaMan »

This has been discussed ad nauseam else where so I would say that's not a bug, it's a feature.
User avatar
Enjay
 
 
Posts: 27115
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: You can see things up close in the dark

Post by Enjay »

Sodaholic wrote:...it fades in to full bright. It shouldn't be doing this, as it wasn't the original behavior, and besides, it looks pretty bad.
I don't *think* it is as bright as fullbright and Vanilla Doom always had this effect. However, it is a little more obvious/brighter in Zdoom.

Vanilla (under DOSBox)
Image Image

Zdoom
Image Image
(Zdoom images resized - which explains the anti-aliasing.)

Personally, I never really liked the original Doom effect either.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: You can see things up close in the dark

Post by Project Shadowcat »

If I had voting power I'd say to leave this one be.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: You can see things up close in the dark

Post by NeuralStunner »

Project Dark Fox wrote:If I had voting power I'd say to leave this one be.
Or assign it another CVar, R_NearVisibility...
User avatar
esselfortium
Posts: 3862
Joined: Tue Sep 19, 2006 8:43 pm
Contact:

Re: You can see things up close in the dark

Post by esselfortium »

It's most noticeable in extremely dark areas. Try a 0-brightness sector or something similar and you'll see the difference pretty easily: in ZDoom, it becomes fullbright when you stand in front of a wall or look down at the floor below you. In vanilla, it might brighten ever so slightly but will still be near-black.


DaMan wrote:This has been discussed ad nauseam else where so I would say that's not a bug, it's a feature.
........rofl
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: You can see things up close in the dark

Post by NeuralStunner »

esselfortium wrote:It's most noticeable in extremely dark areas. Try a 0-brightness sector or something similar and you'll see the difference pretty easily: in ZDoom, it becomes fullbright when you stand in front of a wall or look down at the floor below you. In vanilla, it might brighten ever so slightly but will still be near-black.
Vanilla doesn't have freelook , so I'm not sure how to test this. :P

GZDoom's Doom light mode seems to go a ways in the opposite direction, where walls appear darker up close than in vanilla, but I actually prefer it that way.
User avatar
esselfortium
Posts: 3862
Joined: Tue Sep 19, 2006 8:43 pm
Contact:

Re: You can see things up close in the dark

Post by esselfortium »

NeuralStunner wrote:
esselfortium wrote:It's most noticeable in extremely dark areas. Try a 0-brightness sector or something similar and you'll see the difference pretty easily: in ZDoom, it becomes fullbright when you stand in front of a wall or look down at the floor below you. In vanilla, it might brighten ever so slightly but will still be near-black.
Vanilla doesn't have freelook , so I'm not sure how to test this. :P
Stand in front of a floor that's raised 32 units or so?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: You can see things up close in the dark

Post by Gez »

Sodaholic wrote:Unlike vanilla Doom, in ZDoom, even in pitch black areas, if you are close to something, it fades in to full bright. It shouldn't be doing this, as it wasn't the original behavior, and besides, it looks pretty bad.
Go back to vanilla Doom. The vanilla vanilla. Start playing. Hit the minus key repeatedly to turn the game screen into an itty-bitty tiny teeny post stamp. Now try humping dark walls again and report your findings.


What happens in ZDoom is a direct consequence of vanilla behavior. It just so happens that vanilla behavior is kinda resolution-dependent, and doesn't brighten as much with screenblocks 10 or 11. ZDoom is more consistent.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: You can see things up close in the dark

Post by Xaser »

This actually came up not long ago, and IIRC, Randy himself weighed in and said that he was aware of the difference but didn't think it'd be worth emulating Vanilla's (slightly odd, code-wise) behavior on this.
User avatar
esselfortium
Posts: 3862
Joined: Tue Sep 19, 2006 8:43 pm
Contact:

Re: You can see things up close in the dark

Post by esselfortium »

Gez wrote:
Sodaholic wrote:Unlike vanilla Doom, in ZDoom, even in pitch black areas, if you are close to something, it fades in to full bright. It shouldn't be doing this, as it wasn't the original behavior, and besides, it looks pretty bad.
Go back to vanilla Doom. The vanilla vanilla. Start playing. Hit the minus key repeatedly to turn the game screen into an itty-bitty tiny teeny post stamp. Now try humping dark walls again and report your findings.
Yes, it's a bug there too. Note that it doesn't do that when playing at full-size or anywhere near it.
Sodaholic
Posts: 1959
Joined: Sat Nov 03, 2007 4:13 pm

Re: You can see things up close in the dark

Post by Sodaholic »

It really looks weird having things at fullbright when you are next to them, so if this gets fixed, I think that the max screensize of vanilla should be used as a reference.
User avatar
Enjay
 
 
Posts: 27115
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: You can see things up close in the dark

Post by Enjay »

Having checked with light level 0 and compared it to sectors with light level 255, the Zdoom effect is quite different to the Vanilla full screen behaviour and walls do indeed seem to be full bright (or pretty close to it) when you stand right next to them in Zdoom.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: You can see things up close in the dark

Post by NeuralStunner »

Gez wrote:It just so happens that vanilla behavior is kinda resolution-dependent, and doesn't brighten as much with screenblocks 10 or 11. ZDoom is more consistent.
I'm guessing Id did this intentionally to improve visibility for those that needed the small screen size for performance reasons.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: You can see things up close in the dark

Post by randi »

Here is the discussion the last time this came up, mixed in with discussion of COLORMAPS: http://forum.zdoom.org/viewtopic.php?f= ... 0&start=10
What I wrote then still stands: It's not a simple one-line fix, and since the conditions where it's most noticeable are limited, it doesn't seem worth the effort.

Also, might I also mention that in standard Doom, floors and ceilings are allowed to get much brighter as they get closer to you than are walls? You can't really see in it Doom, since you can't pan the view up or down. It might be possible to construct a 0-brightness map in Heretic and Hexen and see it there, though I haven't tried. This is a consequence of Doom precalculating 16 tables for lighting (hence the reason it has only 16 real light levels) but accessing them differently for walls vs floors.

Which also raises the question: Is the clamp on maximum brightness of walls in Doom a conscious design decision, or was it simply a consequence of their lookup tables? Was it even considered in any way at all? What ZDoom does is basically identical to Doom but without the lookup tables.
Post Reply

Return to “Closed Bugs [GZDoom]”