[Fixed] Transparency not working (OGL)(Linux)(Q/GZDoom)

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.

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: [Fixed] Transparency not working (OGL)(Linux)(Q/GZDoom)

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by Graf Zahl » Sat Aug 19, 2017 2:56 pm

Unlikely. Mods cannot change internal CVARs. That is, unless you use Zandronum and its ill-motivated SetCVar ACS-function.

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by 7HEPOW » Sat Aug 19, 2017 2:32 pm

Maybe some mod made this. If the setting can't be changed in the settings, that might be it. Good thing, I don't use too many mods, so it'll be probably easy to know which one it was.

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by Graf Zahl » Sat Aug 19, 2017 12:15 pm

gl_mask_sprite_threshold=0
gl_mask_threshold=0
No idea how those ended up 0. The default is 0.5 and setting them to 0 will indeed disable the alpha test.

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by 7HEPOW » Sat Aug 19, 2017 11:31 am

Interestingly, it's fixed. I killed off my config file and started from scratch. No transparency issues now. Just to be sure, I checked with the ini files in the OP and the issue is still there.

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by Graf Zahl » Tue Aug 15, 2017 11:12 pm

That's not going to help, thoug because it introduces other issues because it can no longer treat alpha-masked textures as solid.
The problem here is that for some reason the alpha test in the shader does not work. I have no idea how that may even be possible.

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by abbuw » Tue Aug 15, 2017 2:19 pm

The only thing that I've found that helps with this issue is to have the textures with transparent bits have a slightly transparent value, something with an alpha of 254 is enough to make the textures look decent again.

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by Rachael » Mon Aug 14, 2017 7:23 pm

Have you tried changing the texture format in the OpenGL menu in-game?

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by 7HEPOW » Mon Aug 14, 2017 1:14 pm

Turning all driver settings to their defaults didn't help. I'll run through some more tests on GZD/QZD...

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by 7HEPOW » Sun Aug 13, 2017 3:56 pm

Hmm... Interesting...

Thanks for moving it! :)

I'll have a deep dive into the driver then.

Re: Transparency not working (OGL)(Linux)(Q/GZDoom)

by Rachael » Sun Aug 13, 2017 3:38 pm

I'm sorry. Unfortunately this is a driver issue - there is no bug here. :(

I've gone ahead and moved it to the appropriate forum for you, though. With the info you provided there might be someone who is able to help you with this.

[Fixed] Transparency not working (OGL)(Linux)(Q/GZDoom)

by 7HEPOW » Sun Aug 13, 2017 3:31 pm

Running GZDoom 3.2pre-401-g5c7b1ee8e / QZDoom 2.1pre+114+g7a1628458. Tested also in GZD 3.1 and QZD 2.0.

System is:
Manjaro 17.0.2 64Bit
Kernel Version 4.4.79
intel i7 6700
32GB RAM
NVidia GTX 1050Ti with driver Version 375.82 (OGL 4.5.0)

Happened also on earlier versions of kernel/driver/engine starting with the 2.0 branch of GZD.

Here's a shot of GZ running in OGL with doom.wad (Ultimate) at the end of E1M1:


A reference shot with brutalv20b-R3 in OGL/Software mode, as it appears on blood patches too. There's quite some Z-Fighting going on, but that's irrelevant for this... :)


Same happens in vanilla HACX again in OGL/Software


Also in Hexen...


It seems to be related to these other 2 threads:
viewtopic.php?f=7&t=57101
viewtopic.php?f=7&t=57108

My .ini files are attched in the zip file.

If there's more info I can provide, just let me know how. I more end user than coder, but I can figure stuff out... ;)
Attachments
inis.zip
7HEPOW's .ini files
(12.34 KiB) Downloaded 104 times

Top