-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove tearing on muzzleflashes? #321
Comments
If you're referring to dynamic lights tearing, it's likely because the effect appears for a single frame only for bullet-based weapons. This means that at higher FPS and V-Sync disabled, the effect will be present for less than a frame on your screen, causing this tearing effect. This is fixed in Nightdive's re-release by making the dynamic light appear for a fixed amount of time (e.g. 50 ms). I remember seeing a fix for this in either Q2PRO or Yamagi Quake 2 (I forgot). |
@Calinou |
I found it, it's yquake2/yquake2@ba2fc77. The light always displays for at least 32 milliseconds, which simulates how long these dynamic lights displayed when the game ran at 30-35 FPS on hardware of the era. |
Thanks a lot! So, only Nightdive remaster and Yamagi have this fix? |
Right now, yes, but #368 implements the same fix in Q2PRO. |
Thanks. And its have same result as at Nightdive or Yamagi? How quick its can be implemented?
I do not understand what want to say skullernet? |
I'm saying that the only way to avoid tearing is to enable vsync. With vsync disabled I get tearing in Q2PRO, Yamagi Quake 2 and Nightdive's re-release. In re-release tearing is less noticeable because muzzleflash dynamic light lifetime seems to be much higher there (like 100 msec). But this is also very different from vanilla. |
its bit mess, @Calinou says this fix tearing
i am also today try Yamagi with dynamic light and have no seen any tearing like i seen at q2pro. but you say that not fix? please explain. |
@Calinou |
Did you make the change in the right location? It's at line 146. |
Hello!

Linux
gf9800gtx
Is there way remove tearing on muzzleflashes(see video on streamable)
https://streamable.com/d0x7jv?t=4&src=player-page-share
I do not want turn off Dynamic Light effects.
I do want turn ON Vsync.
Can i use ‘cl_async 2’(GL_ARB_sync) on my 9800gtx with proprietary 340.108 driver?
glxinfo-gf9800gtx.txt
The text was updated successfully, but these errors were encountered: