JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.04k stars 615 forks source link

Weapon projectiles and some other graphics effects are brighter and weapon sounds are louder at higher frame rates #1240

Open sr1gh opened 2 months ago

sr1gh commented 2 months ago

OS: Windows 10 (Latest) Multiplayer

The texture/effect brightness of weapon projectiles increases with the frame rate, causing them to look very bright at high frame rates. The volume level of the weapon sound effects also increases with frame rate, making them very loud when the frame rate is high. Tested at 120 to 360 FPS. (Requires increasing com_maxfps cvar) Also, if frame rate is higher than 333 FPS, player hand and weapon movement/swaying animation in first person becomes very slow. (Tested at 500 FPS)

I would like to try to fix this, but I am not sure which section of code causes this.

30 FPS 60 FPS 125 FPS 250+ FPS

ensiform commented 2 months ago

They aren't brighter per-se. The original assets contain an issue that causes multiple copies of primitives to be rendered at higher fps. Not really a new issue. Sounds probably should not be louder but they are generated by the effects so also probably just playing more overlapping, not 100% sure though.