andrei-drexler / ironwail

High-performance QuakeSpasm fork
GNU General Public License v2.0
530 stars 49 forks source link

[Bug] Texture flickering #160

Closed wirion closed 1 year ago

wirion commented 1 year ago

Hi, in e1m1 the secret elevator next to the quad secret has some texture weirdness going on when it's lowered (flush with the rest of the floor). As you look around, the pattern changes rapidly. This is in ironwail 0.6.0 and later, but not in quakespasm 0.95.1.

ironwail0000

andrei-drexler commented 1 year ago

Hey! There's a cvar for this, gl_zfix 1. It's actually 1 by default, but it's 0 in QS, and if you already have a config.cfg with it off the first time IW is started then it'll stay off. Maybe I should rename it to r_zfix to avoid this situation.

wirion commented 1 year ago

Oh no, my bad, I totally turned that off when I initially didn't see a difference. Sorry to spam the Issues! But thanks for your response!

andrei-drexler commented 1 year ago

No problem!

I'm going to close this issue without renaming the cvar after all because I've realized that QS doesn't save it to config, so the only way this can happen is if it is indeed changed manually in IW. Ideally there would be some kind of documentation for these cvars, but I guess that's a different issue.