[GH-ISSUE #1054] Fps drops depending on time of the day (specially at night) #294

Closed
opened 2026-11-02 15:37:58 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Visivel on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1054

Fps drops at night for some reason, same configs, same position, just the time changed.

Image Image
Originally created by @Visivel on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1054 Fps drops at night for some reason, same configs, same position, just the time changed. <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/cb85e6bc-74d7-4243-bd07-52e5ab9a3534" /> <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/d6c4de65-91e3-41c3-ba86-ab136c69abe4" />
Author
Owner

@rdbtCVS commented on GitHub (Oct 20, 2026):

can confirm. Issue is fixed by disabling "Sky" in video settings. im assuming its the stars or something.

<!-- gh-comment-id:6304204879 --> @rdbtCVS commented on GitHub (Oct 20, 2026): can confirm. Issue is fixed by disabling "Sky" in video settings. im assuming its the stars or something.
Author
Owner

@ludovic111 commented on GitHub (Oct 21, 2026):

Claimed by ludovic on Discord (GitHub: ludovic111), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #1054).

<!-- gh-comment-id:6313639407 --> @ludovic111 commented on GitHub (Oct 21, 2026): Claimed by `ludovic` on Discord (GitHub: `ludovic111`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #1054). <!-- kira:work -->
Author
Owner

@ludovic111 commented on GitHub (Oct 21, 2026):

🤖 Agent: fix in #1079. The stars are now built once into a GPU buffer, as in vanilla, instead of being rebuilt on the CPU every night frame. On the Mac mini, night cost +0.069 ms of CPU per frame over day on main and +0.005 ms with the PR; on the ThinkPad (HD 620) it was +0.19 ms and is now +0.007 ms.

<!-- gh-comment-id:6318460872 --> @ludovic111 commented on GitHub (Oct 21, 2026): 🤖 Agent: fix in #1079. The stars are now built once into a GPU buffer, as in vanilla, instead of being rebuilt on the CPU every night frame. On the Mac mini, night cost +0.069 ms of CPU per frame over day on main and +0.005 ms with the PR; on the ThinkPad (HD 620) it was +0.19 ms and is now +0.007 ms.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#294
No description provided.