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.
"Light boxes" problem in enhanced night vision
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.
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.
-
- Posts: 62
- Joined: Thu Jul 06, 2017 8:09 am
"Light boxes" problem in enhanced night vision
- Attachments
-
- gzdoom-jablon1000.zip
- (21.92 KiB) Downloaded 29 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: "Light boxes" problem in enhanced night vision
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.
- Rip and Tear
- Posts: 185
- Joined: Tue May 02, 2017 3:54 pm
Re: "Light boxes" problem in enhanced night vision
Would it be possible for a flag to be added that excludes the actor from being inverted for night vision?
Re: "Light boxes" problem in enhanced night vision
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.
source: gzdoom/gl/scene/gl_sprite.cpp [line 948]
I guess Project Brutatlity marks those flare/smoke actors as MISSILE.