MidTex Glitch at Fog Boundaries

Bugs that have been resolved.

Moderator: Graf Zahl

User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE

MidTex Glitch at Fog Boundaries

Post by NeuralStunner »

When there is a fog boundary and a midtex on the same line, the midtex glitches out on the fogged side. The pixel row at the top/bottom of the midtex (where the texture ends) is stretched all the way to the floor or ceiling.

An example Map01 is attached.
You do not have the required permissions to view the files attached to this post.
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: MidTex Glitch at Fog Boundaries

Post by Graf Zahl »

Argh. I was hoping nobody would ever discover this particular problem - which isn't really that easily fixable, unfortunately.
User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE

Re: MidTex Glitch at Fog Boundaries

Post by NeuralStunner »

I can avoid the combination without too much trouble. Fortunately I'm only working on a test map right now, so I can see how things work together.

Colored fog gets the "in moderation" treatment, anyhow. (Though I do plan to use GL global fog in a few maps. Looks awesome.)
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
User avatar
VGA
Posts: 23
Joined: Tue Mar 22, 2011 2:35

Re: MidTex Glitch at Fog Boundaries

Post by VGA »

(this looks worse in zdoom lol, holy crap that's bad)

EDIT: Oh my god, I shouldn't have bumped this. Oops, didn't check date :(
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: MidTex Glitch at Fog Boundaries

Post by Graf Zahl »

This should work with a recent change made to how fog boundaries are rendered.
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Re: MidTex Glitch at Fog Boundaries

Post by Enjay »

I don't remember how it looked with older version but this is how it is for me using the DRD git build from 20th September:

Image

2.0.03 looks much the same. I suspect that isn't how its meant to look.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: MidTex Glitch at Fog Boundaries

Post by Graf Zahl »

Yeah, it needed some special check in the shader, too.
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Re: MidTex Glitch at Fog Boundaries

Post by Enjay »

Yup, looks fine with the build from 21st September.
User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE

Re: MidTex Glitch at Fog Boundaries

Post by NeuralStunner »

Oh hey, that's a pleasant surprise. I'd forgotten about this one. :)
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs

Return to “Closed Bugs”