xray-16
xray-16 copied to clipboard
Render slowdown when shooting
Describe the bug Render slowdown when shooting, seems to get worse as more shots are fired.
To Reproduce Steps to reproduce the behavior:
- Shoot bullets
- Observe output of rs_stats
Expected behavior Shooting should not decrease performance so much
Screenshots
Desktop (please complete the following information):
- OS: Windows 10
- OpenXRay build version: 429519f
Additional context Happens regardless of whether r2_mt_render/r2_mt_calculate is on or off
@yohjimane, strong drop in shooting fps was also noticed on mobile devices, especially first shot after loading gamesave. In short, shadow map and lighting calculation are built there with each shot from weapon. But so far no one has taken up optimization.