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.
			
			
						MidTex Glitch at Fog Boundaries
Moderator: Graf Zahl
- 
				NeuralStunner  
- Posts: 253
- Joined: Tue Dec 29, 2009 3:46
- Location: IN SPACE
MidTex Glitch at Fog Boundaries
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
- 
				Graf Zahl  
- GZDoom Developer 
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
Re: MidTex Glitch at Fog Boundaries
Argh. I was hoping nobody would ever discover this particular problem - which isn't really that easily fixable, unfortunately.
			
			
									
						
										
						- 
				NeuralStunner  
- Posts: 253
- Joined: Tue Dec 29, 2009 3:46
- Location: IN SPACE
Re: MidTex Glitch at Fog Boundaries
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.)
			
			
									
						
							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
- 
				VGA  
- Posts: 23
- Joined: Tue Mar 22, 2011 2:35
Re: MidTex Glitch at Fog Boundaries
(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
			
			
									
						
										
						EDIT: Oh my god, I shouldn't have bumped this. Oops, didn't check date

- 
				Graf Zahl  
- GZDoom Developer 
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
Re: MidTex Glitch at Fog Boundaries
This should work with a recent change made to how fog boundaries are rendered.
			
			
									
						
										
						- 
				Enjay  
- Developer 
- Posts: 4756
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
Re: MidTex Glitch at Fog Boundaries
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:

2.0.03 looks much the same. I suspect that isn't how its meant to look.
			
			
									
						
										
						
2.0.03 looks much the same. I suspect that isn't how its meant to look.
- 
				Graf Zahl  
- GZDoom Developer 
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
Re: MidTex Glitch at Fog Boundaries
Yeah, it needed some special check in the shader, too.
			
			
									
						
										
						- 
				Enjay  
- Developer 
- Posts: 4756
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
Re: MidTex Glitch at Fog Boundaries
Yup, looks fine with the build from 21st September.
			
			
									
						
										
						- 
				NeuralStunner  
- Posts: 253
- Joined: Tue Dec 29, 2009 3:46
- Location: IN SPACE
Re: MidTex Glitch at Fog Boundaries
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