-
Notifications
You must be signed in to change notification settings - Fork 18
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
Inherent frame delay? #4
Comments
This is due to a recent change to support standalone applications which don't go through the regular engine frame loop. I'll have to think about how to accommodate both flows but you can refer to the previous implementation that utilised |
Ah thanks, that makes sense. It's not super time critical, I can live with this issue for a while. So if you're going to fix it properly for both cases in the near future, I can happily wait for that :) |
There is another issue with the standalone application change. There is never a time now where you're not in an ImGui frame since To add a new font I'd now have to change |
Fixed in a973d76 |
Hi,
I've noticed that when projecting a world position to screen and rendering a circle onto the ImGui background draw list at that position, that rendered circle will slightly lag behind when moving the camera.
I found that the plugin calls
ImGui::Render
just before callingImGui::NewFrame
in the same tick. That means all ImGui rendering will inherently be delayed by one tick since you only submit the render commands for the current tick in the next tick. Is there a reason why the plugin works this way? Could it be changed to submit render commands in the same tick?Thanks!
The text was updated successfully, but these errors were encountered: