Weapons don't darken enough in dark places

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Carrascado
Posts: 36
Joined: Tue Mar 01, 2016 3:34 pm

Weapons don't darken enough in dark places

Post by Carrascado »

Hello, me (and user Dynamo, thx) have realised that, depending on the sector light mode you choose, weapons don't seem to darken up in pitch black sectors (brightness 0 or at least very low). More precisely, the only sector light mode that darkens enough is software sector light mode. The others don't (they darken but very little). This seems to happen in modern versions of gzdoom (like 2.2.0).

This happens in doom2.wad (standard mode):
Image

This happens in the same place (dark mode):
Spoiler:
You can't see almost any difference (or any difference at all), which is weird.

Dynamo made these pics:

This is a sector with brightness 0 in an OLD version of gzdoom ->
Spoiler:
This is a sector with brightness 0 in a modern version ->
Spoiler:
The weapon got darker but very little, which is weird because that is a place with brightness 0.

The only way to darken enough the weapon in gzdoom 2.2.0 is using sector light mode in "software".

Brightness 0 in gzdoom 2.2.0 64 bits (dark mode, but the same happens with any other mode that is not software):
Spoiler:
Brightness 0 in gzdoom 2.2.0 64 bits (software mode):
Spoiler:
So, why does this happen? Is this intended or is it a bug? The prettier situation for brightness 0 would be the last one, but you need to choose always software mode for that. Thanks and sorry for the storm of pics.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Weapons don't darken enough in dark places

Post by Graf Zahl »

The weapon lighting in GZDoom was changed because it deviated too much from how Doom is supposed to light weapons.
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: Weapons don't darken enough in dark places

Post by Nevander »

It makes no sense for a sector with 0 brightness to display a weapon sprite or thing within it as if it had a brightness of 150. Intended or not, it just looks wrong.
Carrascado
Posts: 36
Joined: Tue Mar 01, 2016 3:34 pm

Re: Weapons don't darken enough in dark places

Post by Carrascado »

Nevander wrote:It makes no sense for a sector with 0 brightness to display a weapon sprite or thing within it as if it had a brightness of 150. Intended or not, it just looks wrong.
I totally agree. It's just wrong and even ugly for me. Right now the only way to get rid of this problem is using software sector light mode, but this mode brightens up the stuff near the player, and I don't like that either :( .
Graf Zahl wrote:The weapon lighting in GZDoom was changed because it deviated too much fro how Doom is supposed to light weapons.
Graf Zahl, I kindly ask you to please reconsider this. I understand the reason, but it looks pretty weird in very dark maps and it breaks the experience a bit. I don't want to stick to software mode since I don't like the other features it gives (such as giving light around the player).

Couldn't you "fix" this using the new gzdoom lightning you mentioned?

Or at least making a new mode that darkens stuff properly. I'm sure a lot more people would appreciate it.

Thanks for reading.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Weapons don't darken enough in dark places

Post by Graf Zahl »

If I change it back it will negatively affect the mods for which it got reported as a bug. The best you can get is a MAPINFO option so that you can explicitly set it for your mod.
User avatar
Nash
 
 
Posts: 17484
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Weapons don't darken enough in dark places

Post by Nash »

I'd settle with a mod option. Or a user setting maybe.
Carrascado
Posts: 36
Joined: Tue Mar 01, 2016 3:34 pm

Re: Weapons don't darken enough in dark places

Post by Carrascado »

Graf Zahl wrote:If I change it back it will negatively affect the mods for which it got reported as a bug. The best you can get is a MAPINFO option so that you can explicitly set it for your mod.
Ok, I would be satisfied with the MAPINFO option, although, as Nash said, adding also an user setting to the options would be pretty nice.

Thanks!
Carrascado
Posts: 36
Joined: Tue Mar 01, 2016 3:34 pm

Re: Weapons don't darken enough in dark places

Post by Carrascado »

Sorry for the bump, but I'm pretty noob on github and changelogs and stuff so... what did finally happen with this topic? Did it get some additional option or something?

The only thing I realised is now even the software renderer puts this additional fake light on weapons, so... any way that when I enter a light 0 sector the weapons go pitch black? That is the only thing I want.

Thanks in advance.
User avatar
Vdude
Posts: 27
Joined: Fri Aug 16, 2013 8:44 pm

Re: Weapons don't darken enough in dark places

Post by Vdude »

Welp, just found this, searching about the same issue. I guess there still isn't correct lighting in weapon sprites then.

Return to “General”