Black squares in some textures
Moderator: Graf Zahl
-
- Posts: 17
- Joined: Tue Dec 29, 2015 20:43
Black squares in some textures
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
https://scontent-dfw1-1.xx.fbcdn.net/hp ... e=56C5DC9D
https://scontent-dfw1-1.xx.fbcdn.net/hp ... e=56C646A9
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: Black squares in some textures
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.
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.
-
- Posts: 17
- Joined: Tue Dec 29, 2015 20:43
Re: Black squares in some textures
Stills appearing in the old builds this doesn't happen to meEruanna 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.
https://scontent-dfw1-1.xx.fbcdn.net/hp ... e=56C6E571
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: Black squares in some textures
What happens when you type "gl_texture_hqresize 0" in the console?
-
- Posts: 17
- Joined: Tue Dec 29, 2015 20:43
Re: Black squares in some textures
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
Texture filter mode: trilinear
anisotropic filter: x16
high quality resize mode: hq2x
no dynamic lights: the black squares gone
-
- Posts: 17
- Joined: Tue Dec 29, 2015 20:43
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: Black squares in some textures
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.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Black squares in some textures
Are you using an 1.10pre or 2.2pre build?
-
- Posts: 6
- Joined: Sun Feb 21, 2016 23:28
Re: Black squares in some textures
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
GZDoom 2.10
http://imgur.com/NYTglxw
GZDoom 2.1pre Build 1231
http://imgur.com/NFt8XLR
Re: Black squares in some textures
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.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Black squares in some textures
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.
-
- Posts: 6
- Joined: Sun Feb 21, 2016 23:28
Re: Black squares in some textures
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.
Tested on GZDoom 2.1.0 with both ZDL and ZDE.
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: Black squares in some textures
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:
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.
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
-
- Posts: 6
- Joined: Sun Feb 21, 2016 23:28
Re: Black squares in some textures
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?
http://imgur.com/LMNJSQK
Does its custom textures have a problem with GZDoom?
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: Black squares in some textures
(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.
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.