Sky no longer clipping wrapped mid textures

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Guest

Sky no longer clipping wrapped mid textures

Post by Guest »

Somewhere in one of the recent builds, it appears that mid-textures with the 'wrap mid texture' flag will no longer be clipped by ceiling if it's a sky texture. I'm not sure if this is intentional or not, but regardless, here are some screen-shots demonstrating this where they have looked otherwise normal in all previous releases.

https://imgur.com/a/QltPYdR
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: Sky no longer clipping wrapped mid textures

Post by Marisa the Magician »

What map is this so we can check it out?
Guest

Re: Sky no longer clipping wrapped mid textures

Post by Guest »

https://www.doomworld.com/idgames/level ... m-o/ma_put

right as you walk into the first room, turn around and it's where the screen-shot was taken.
User avatar
Rachael
Posts: 13558
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Sky no longer clipping wrapped mid textures

Post by Rachael »

Yeah, that's a bug. I tried entering the following into compatibility.txt:

Code: Select all

4D9428A270CDB5D6C6F1B0BDA860FA9D // ma_put.pk3 map01 - putrefier
{
	clipmidtex
}
but it didn't work.
Guest

Re: Sky no longer clipping wrapped mid textures

Post by Guest »

https://www.doomworld.com/idgames/level ... m-o/ma_wrp

this is the map in the other screen-shot. There's another instance in sector 9103 (technically, it's 10,020 in the skybox sector)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Sky no longer clipping wrapped mid textures

Post by Graf Zahl »

This is an interesting situation. The new behavior mirrors that of the software renderer.
However, since in this case that is a broken undefined and useless special case I changed it so that for wrapped mid textures the sky special handling is simply completely disabled. That clips the texture segment to the actual sector bounds but does not reintroduce the bug this change was supposed to fix.
Post Reply

Return to “Closed Bugs [GZDoom]”