Page 1 of 2

Black squares in some textures

Posted: Wed Feb 17, 2016 0:21
by NullWire
I'm using the last build of gzdoom, I load the dynamic lights and in some ¨windows¨ or ¨fences¨ I get this black squares only in that kind of textures


https://scontent-dfw1-1.xx.fbcdn.net/hp ... e=56C5DC9D

https://scontent-dfw1-1.xx.fbcdn.net/hp ... e=56C646A9

Re: Black squares in some textures

Posted: Wed Feb 17, 2016 3:25
by Rachael
Does it still appear when you turn off texture resize?

If it is still a problem then, then we need to know what kind of GPU you have, and your operating system.

If the problem disappears, then we need to know which texture resize you were using.

Re: Black squares in some textures

Posted: Wed Feb 17, 2016 4:00
by NullWire
Eruanna wrote:Does it still appear when you turn off texture resize?

If it is still a problem then, then we need to know what kind of GPU you have, and your operating system.

If the problem disappears, then we need to know which texture resize you were using.
Stills appearing in the old builds this doesn't happen to me

https://scontent-dfw1-1.xx.fbcdn.net/hp ... e=56C6E571

Re: Black squares in some textures

Posted: Wed Feb 17, 2016 4:03
by Rachael
What happens when you type "gl_texture_hqresize 0" in the console?

Re: Black squares in some textures

Posted: Wed Feb 17, 2016 4:03
by NullWire
This ins't fault of the texture resize I have this settings

Texture filter mode: trilinear
anisotropic filter: x16
high quality resize mode: hq2x

no dynamic lights: the black squares gone

Re: Black squares in some textures

Posted: Wed Feb 17, 2016 4:05
by NullWire

Re: Black squares in some textures

Posted: Wed Feb 17, 2016 8:34
by Rachael
Then it is necessary to know your hardware and the software running on it... your OS, your GPU, and the downloaded driver you have for it.

Re: Black squares in some textures

Posted: Sun Feb 21, 2016 1:43
by Graf Zahl
Are you using an 1.10pre or 2.2pre build?

Re: Black squares in some textures

Posted: Mon Feb 22, 2016 0:13
by MLSabre
Hello there. I'm currently having this same issue with GZDoom. Using GZDoom 2.1.0, Window 7 OS, and Intel(R) HD Graphics 3000. I did not experience this problem when I use earlier builds such as GZDoom 2.1pre build-1231. Changing the texture settings doesn't fix the problem and neither with Dynamic Lights setting as well.

GZDoom 2.10
http://imgur.com/NYTglxw

GZDoom 2.1pre Build 1231
http://imgur.com/NFt8XLR

Re: Black squares in some textures

Posted: Tue Mar 08, 2016 20:30
by ArchangelStega
So, do we have an update regarding this issue? Or does this have something to do with integrated graphic cards. This doesn't seem to be an issue with earlier builds.

Re: Black squares in some textures

Posted: Tue Mar 08, 2016 21:59
by Graf Zahl
If I could reproduce this I could tell you more. But without being able to run some test on code changes there's not much I can do.

Re: Black squares in some textures

Posted: Wed Mar 09, 2016 2:10
by MLSabre
So I figured out what may be triggering this to happen after I temporary moved my profile (gzdoom-*username*.ini) elsewhere. It looks like after switching on the "high quality resize mode" (any of them) even once will cause the transparency in certain textures (i.e. fence textures in Back to Saturn X Ep1) to be filled with black. Switching out does not revert this issue; it permanently stays unless you remove your profile.

Tested on GZDoom 2.1.0 with both ZDL and ZDE.

Re: Black squares in some textures

Posted: Wed Mar 09, 2016 3:11
by Rachael
That doesn't make much sense. That would have to mean that something else is being set in your profile that shouldn't be. Are you sure you aren't just auto loading something?

It would obviously be a case of some variable being set when you change your HQ resize mode.

EDIT: I went ahead and tested it myself, and here were the results:

Code: Select all

C:\gzdoom-test>diff gl1.ini gl2.ini
1c1
< # This file was generated by GZDoom g2.1.1 on Tue Mar  8 21:16:41 2016
---
> # This file was generated by GZDoom g2.1.1 on Tue Mar  8 21:17:32 2016
This was using a fresh config file. I created it from scratch using the -config parameter. I exited the game, copied it to a new file, and ran the new file, and changed the HQ resize mode. Entered map01, exited the game, came back, changed the HQ resize back to none. Left the game again. Ran the diff. No change.

Re: Black squares in some textures

Posted: Wed Mar 09, 2016 3:56
by MLSabre
I neglected to say that I tested this in the megawad called Back to Saturn X EP1. I even tried this even with just loading the wad by itself. While the fence texture doesn't have its whole transparency in black, inbetween the rails is filled black.

http://imgur.com/LMNJSQK

Does its custom textures have a problem with GZDoom?

Re: Black squares in some textures

Posted: Wed Mar 09, 2016 5:01
by Rachael
(For Graf's convenience: https://www.doomworld.com/vb/thread/62529) (map MAP01, warp 2793 -2248)

I downloaded it myself and I found the texture you were referring to in the first level. Here's what happened for me: (GeForce GTX 860M, using 2.1.1) (Trial repeated using Intel HD 4600, using 2.1.1, same results)

First, I entered the level like normal, found the texture, and saw that it was transparent, like it was supposed to be. So I went into the menu and applied a hi-res scaling to it. Scale2x, 3x, and 4x - no problem. Texture is still transparent.

So I applied the HQnx algorithms to it. The blackness appeared. "Interesting" So I turned it off, and the blackness stayed.

I exited GZDoom, to see if this stuck with my config, and re-entered the level once more. I looked, and the blackness was gone, the textures were back to normal again.

Obviously the HQnx implementation has been a bit quirky since its inception. But at least that helps to nail it down some more.