Black "blinds" on windows in fog maps in Truecolor Software

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
brick
Posts: 51
Joined: Fri Apr 30, 2021 10:22 am
Graphics Processor: nVidia (Modern GZDoom)

Black "blinds" on windows in fog maps in Truecolor Software

Post by brick »

Looking at window midtextures while in Truecolor Software on a map that has fog, you see just pure black in the windows instead of what's supposed to be visible on the other side.
Comparison screenshots:

Getting very close to the window sometimes removes the blind and allows normal view. Also, tilting at particular angles partially opens the black blind, as you can see in the Truecolor side view image.

I took the screenshots in plain Hexen (MAP08, no mods) but I have also seen this in other PWADs with fog and windows, so not Hexen-specific.
Screenshots are in 640x480 in Vulkan, but the blinds behave exactly the same at higher resolutions (including widescreen) and with OpenGL too.
I'm running an Nvidia GTX 970 on Windows 7.
This is GZDoom 4.7.1 but it's also there in 4.5.0.
brick
Posts: 51
Joined: Fri Apr 30, 2021 10:22 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Black "blinds" on windows in fog maps in Truecolor Softw

Post by brick »

I've been replaying Hexen recently, and noticed this glitch isn't limited to windows, it's also very prominent in the portals.
Screenshot_Hexen_20220415_202635.png
Screenshot_Hexen_20220415_202646.png
As before, this black film is specific to Truecolor (hardware and regular software renderers look fine), it's there regardless of the API used (OpenGL, GLES, Vulkan; this time I also tested SoftPoly, it's there in all of them).
I'm starting to wonder if this could be a problem specific to my setup and not to GZDoom, it's such an obvious glitch but I haven't found any record of it being reported anywhere before. If anyone else can confirm they have the same issue (or conversely, that they do not) I'd appreciate it.
You do not have the required permissions to view the files attached to this post.
User avatar
Xeotroid
Posts: 443
Joined: Sat Jun 23, 2012 7:44 am
Graphics Processor: nVidia with Vulkan support
Location: Czech Rep.

Re: Black "blinds" on windows in fog maps in Truecolor Softw

Post by Xeotroid »

Can confirm this happens to me too on the latest devbuild. Winnowing Hall is fine, while Darkmere shows a black portal window with true colour SW renderer. Interestingly, the save game thumbnail works just fine; is the non-TC renderer used for those?
yum13241
Posts: 853
Joined: Mon May 10, 2021 8:08 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): EndeavorOS (basically Arch)
Graphics Processor: Intel with Vulkan/Metal Support

Re: Black "blinds" on windows in fog maps in Truecolor Softw

Post by yum13241 »

Figured I would answer your question since the post is at the top anyway as of may 28th 2022. Save games are really just pngs. Part of it is the actual screenshot, and the other is just a bunch of binary data. That's why you cant edit your saves with a save game editor. Not to mention they don't exist, because it really amounts to a hacked PNG.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Black "blinds" on windows in fog maps in Truecolor Softw

Post by Graf Zahl »

Savegames haven't been PNGs for many years, these days they are zips with a PNG screenshots and a few JSON files.
yum13241
Posts: 853
Joined: Mon May 10, 2021 8:08 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): EndeavorOS (basically Arch)
Graphics Processor: Intel with Vulkan/Metal Support

Re: Black "blinds" on windows in fog maps in Truecolor Softw

Post by yum13241 »

Oh, it seems like the source I read from was outdated.

Return to “Classic ("Carmack") Software Renderer Bugs”