[Since April 11?] Translucency bug

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [Since April 11?] Translucency bug

Re: [Since April 11?] Translucency bug

by bLUEbYTE » Fri Dec 04, 2020 3:54 am

Major Cooke wrote:Disable Precache GL Textures option.
This had not helped in my case.

However, in GZDoom 4.5.0 this issue seems to be solved entirely!

Re: [Since April 11?] Translucency bug

by Major Cooke » Thu Sep 03, 2020 4:43 am

Disable Precache GL Textures option.

Re: [Since April 11?] Translucency bug

by Korell » Wed Sep 02, 2020 4:41 pm

I've just seen this for the first time with the Rowdy Rudy 2: Powertrip mod that is work in progress.
viewtopic.php?f=42&t=65693&start=15#p1164050
I've only seen it happen on the one enemy so far (a green marine without a helmet), and it has persisted across a few different versions of the mod, from beta to RC0 and RC1.

If I change the High Quality Resize Mode or Multiplier options (it doesn't seem to matter what the option is as long as it is changed, and it can even be changed and changed back) or if any of the three Resize Textures/Sprites/Fonts options are toggled, then the black box around the sprite disappears. Turning off the Precache GL Textures option also worked, after restarting GZDoom.

Oh, I'm using GZDoom 4.4.0.

Re: [Since April 11?] Translucency bug

by bLUEbYTE » Sat Aug 01, 2020 5:06 am

This has been reported and confirmed as a reproducible issue introduced with 4.4 in my mod viewtopic.php?f=43&t=66778&p=1160976#p1160968

If you save a game and load it in a fresh gzdoom session, the color translations will be gone but enemies have black 'cardboard' backgrounds to them.

Re: [Since April 11?] Translucency bug

by _mental_ » Tue Jul 21, 2020 4:26 am

Do we have any palette with transparency by default? PaletteContainer::SetPalette() is called only with transparent_index set to -1.

Re: [Since April 11?] Translucency bug

by Graf Zahl » Tue Jul 21, 2020 3:48 am

That's clearly not correct. It should fall back to a table where the transparent index is properly set.

Re: [Since April 11?] Translucency bug

by _mental_ » Tue Jul 21, 2020 3:46 am

For missing translations (like in the given sample), remap table is selected in which all colors are opaque. This wasn't the case before.
If the bug happens with a correct translation setup, it's most likely another issue.

Re: [Since April 11?] Translucency bug

by phantombeta » Tue Jul 14, 2020 10:23 am

(Forgot to reply to this)
Graf Zahl wrote:This needs a simple contained example to be investigated. There is none here.
A sample cannot be made if no one knows what triggers it.
And that screenshot by itself is useless
The point of the screenshot was to illustrate that more people were having this issue.

---------------------------------------------

It seems that translations might be a possible way to trigger this. The attached sample was posted to the Discord by the user RaveYard. I can reproduce the bug reliably on my end.
Make sure to disable GL texture precaching. If it doesn't trigger immediately, you can try changing the texture upscaling options to see if you can reproduce it.

Hopefully this is the same bug and not a different one.
Attachments
TransparencyBug.wad
(1.69 KiB) Downloaded 266 times

Re: [Since April 11?] Translucency bug

by Graf Zahl » Sun Jul 12, 2020 12:22 pm

This needs a simple contained example to be investigated. There is none here.
And that screenshot by itself is useless

Re: [Since April 11?] Translucency bug

by phantombeta » Sun Jul 12, 2020 7:49 am

I've been seeing reports of this bug on a few Discord servers I'm in. This appears to be far more common than previously thought, and really needs to be investigated ASAP.

Re: [Since April 11?] Translucency bug

by Marisa the Magician » Sun Jun 21, 2020 11:06 am

OK I suspect my bug here might be a duplicate of this. So I think that one can be closed.

Edit: Found a potential culprit, if I disable "Precache GL Textures" this bug stops triggering.

Re: [Since April 11?] Translucency bug

by Graf Zahl » Sun Apr 19, 2020 10:34 am

Ok, putting this on hold then.

Re: [Since April 11?] Translucency bug

by Major Cooke » Sun Apr 19, 2020 10:18 am

Well I don't know what else changed again, since I haven't updated anything else but now it's working again. Even with the fontdefs included.

I don't know anymore. Maybe it was just a glitch. I doubt it's happened to anyone else but it's no longer happening to me. Should I get it to resurface I'll post about it here.

Re: [Since April 11?] Translucency bug

by Graf Zahl » Sun Apr 19, 2020 5:25 am

That's not how to conduct such a thing. If the absence of that single lump makes a difference you should put it back in and remove other things until you have a minimal test case that reproduces the issue. Right now we are stuck without any idea what to do.

Re: [Since April 11?] Translucency bug

by Major Cooke » Fri Apr 17, 2020 2:06 pm

That's actually exactly what I went through already. That's how I discovered it. I started deleting things one at a time and found out it was FONTDEFS. I restored everything else and kept out the fontdefs and it still worked.

Top