emoose / OutRun2006Tweaks

Turning and spinning and spinning and turning, woah!
MIT License
21 stars 0 forks source link

Reflections resolution and update rate #16

Closed DonelBueno closed 2 days ago

DonelBueno commented 1 week ago

Is it possible to increase the resolution for the reflections on cars? They also update at a lower rate than the rest of the rendering elements.

emoose commented 1 week ago

Seem to have something working for the resolution in https://github.com/emoose/OutRun2006Tweaks/releases/tag/v0.3.0-3, tested with a couple resolutions and seemed fine all the way to 8192x8192, not sure if it could end up messing up some effect though (there's some stuff to do with "intensity" and "flare" in the reflection code, not sure if they'll scale properly with higher res)

Haven't fixed update rate yet, are you playing above 60FPS? There were a few times it seemed to update slow for me as well (at 144fps), but driving slow and looking closer at it seemed fine, not sure what's up with that...

DonelBueno commented 1 week ago

Works perfectly, very nice.

About the update rate, I was playing at 144 FPS, but the accelerated textures annoyed me, so I reverted back to 60 FPS. It seems the reflections update at 30 FPS regardless of the framerate, though.

EDIT: Nevermind, it's always half of the framerate, so it's 30 FPS on 60 FPS gameplay, 72 FPS on 144 FPS gameplay and so on.

DonelBueno commented 2 days ago

I'm gonna close this issue since the resolution is improved and the textures animation issue at high framerates is also fixed, so playing at 120 FPS gives you 60 hz reflections, which is totally fine on my eyes.

If you still want this open for reference for looking into the reflections refresh rate in the future, feel free to reopen it.