[4.4.2] Scaled Midtex Weird Vertical Wraparound

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

[4.4.2] Scaled Midtex Weird Vertical Wraparound

Postby Antroid » Sun Oct 18, 2020 11:35 am

So I have a TEXTURES lump defining some textures that are scaled up. I use them for distant woods and such. I often use them on linedefs with lower upegged and a vertical offset sinking them a bit into the ground. I use that one MAPINFO flag "clipmidtextures" but I disabled it in this example level, so don't mind them clipping into the ground. But using that doesn't change the glitchy part on top.

How it looks in software and softpoly now:


how it looks in hardware (and used to look in software some versions ago, I think I had something like 4.1.x before this):


The extra strips on top seem to perfectly correlate to how far it's offset downwards. It's like it takes the height of the texture and actually tiles it so that the above-ground part of it reaches that height.

I have attached a wad where I cut out a room from my level that demonstrates this (the screenshots are taken from it too). There might be more cases where something like this happens, like if it's sunk into the ceiling, and I'm not sure if every aspect of this particular case is required, but I've tried a normal fence midtex and it didn't have this weird wraparound, so it being scaled might be necessary.
You do not have the required permissions to view the files attached to this post.
Antroid
 
Joined: 02 Sep 2010

Return to Classic ("Carmack") Software Renderer Bugs

Who is online

Users browsing this forum: No registered users and 0 guests