[Won't change] "Light boxes" problem in enhanced night vision

Bugs that have been investigated and resolved somehow.

Moderator: Developers

"Light boxes" problem in enhanced night vision

Postby jablon1000 » Fri Jan 12, 2018 12:00 pm

I use a lot of mods but it seems like engine problem so i post it here. When using night vision googles around light sources you can see white boxes. I have toying with some options but notthing happen. I attach my ini file.

Image

Image

Image

Image
Attachments
gzdoom-jablon1000.zip
(21.92 KiB) Downloaded 6 times
jablon1000
 
Joined: 06 Jul 2017

Re: "Light boxes" problem in enhanced night vision

Postby Graf Zahl » Fri Jan 12, 2018 12:06 pm

The 'transparent' parts of these sprites are black with no alpha. When these get inverted they turn white. To handle this properly the sprites need to have an alpha channel. This cannot be handled by the renderer without very costly workarounds.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: "Light boxes" problem in enhanced night vision

Postby Rip and Tear » Fri Jan 12, 2018 12:52 pm

Would it be possible for a flag to be added that excludes the actor from being inverted for night vision?
User avatar
Rip and Tear
 
Joined: 02 May 2017

Re: "Light boxes" problem in enhanced night vision

Postby Mikk- » Fri Jan 12, 2018 1:30 pm

GzDOOM's enhanced night vision only inverts classes that inherit from the class Inventory, or has the flags ISMONSTER, MISSILE or CORPSE
source: gzdoom/gl/scene/gl_sprite.cpp [line 948]

I guess Project Brutatlity marks those flare/smoke actors as MISSILE.
User avatar
Mikk-
yooooooooooo
 
Joined: 30 Jun 2009
Location: Somewhere off Kanagawa
Discord: Mikk0451#3922


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 2 guests