[GH-ISSUE #3143] Performance worsens at night #839

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

Originally created by @ludovic111 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3143

Version: 0.2.93 · OS: Windows 10, AMD A8-9600, AMD Radeon R7 Graphics (copied from the report)

What I did: While playing, I noticed a strange pattern: the frame rate drops when it’s dark, but increases during the day.
What happened: I created a new world, and the following screenshots demonstrate the performance during the day versus at night.
What I expected: That productivity will not decrease during the nighttime hours.
Horizon version: 0.2.93
Windows 10, AMD A8-9600, AMD Radeon R7 Graphics

Reported on Discord by iDabash Minami in #horizon-bugs · Discord thread
Tags: performance

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3143 **Version:** 0.2.93 · **OS:** Windows 10, AMD A8-9600, AMD Radeon R7 Graphics <sub>(copied from the report)</sub> > What I did: While playing, I noticed a strange pattern: the frame rate drops when it’s dark, but increases during the day. > What happened: I created a new world, and the following screenshots demonstrate the performance during the day versus at night. > What I expected: That productivity will not decrease during the nighttime hours. > Horizon version: 0.2.93 > Windows 10, AMD A8-9600, AMD Radeon R7 Graphics Reported on Discord by **iDabash Minami** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564947715614314536) Tags: performance **Attachments** (Discord links expire after a while; the thread keeps them) - [2026-10-28_10.19.56.png](https://cdn.discordapp.com/attachments/1564947715614314536/1564947716365361202/2026-10-28_10.19.56.png?ex=6ae31ea2&is=6ae1cd22&hm=029621fa3c36608b0212f8a0832a6b661589bbd90a7f2e9ce5864d318de3f931&) - [2026-10-28_10.19.17.png](https://cdn.discordapp.com/attachments/1564947715614314536/1564947717296492595/2026-10-28_10.19.17.png?ex=6ae31ea3&is=6ae1cd23&hm=4c1359b28e4075255d3f61b4bb37cb17bc6fbdbade097781437bed53d0faa460&) - [2026-10-28_10.19.27.png](https://cdn.discordapp.com/attachments/1564947715614314536/1564947718084886578/2026-10-28_10.19.27.png?ex=6ae31ea3&is=6ae1cd23&hm=ffd4b71bd34915733d4d6535727a32bc14e3b742601439999949cedce896bbcd&) - [2026-10-28_10.19.50.png](https://cdn.discordapp.com/attachments/1564947715614314536/1564947718634213426/2026-10-28_10.19.50.png?ex=6ae31ea3&is=6ae1cd23&hm=cd424cace04c6ea77d561f3949fb708f16ea281abe269f3a2500256c95a71a4a&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:42:16 +07:00
Author
Owner

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

iDabash Minami added on Discord:

When night falls, game performance worsens. The time of day literally affects performance.

<!-- gh-comment-id:6466700983 --> @ludovic111 commented on GitHub (Oct 28, 2026): **iDabash Minami** added on Discord: > When night falls, game performance worsens. The time of day literally affects performance. <!-- kira -->
Author
Owner

@sleepe229 commented on GitHub (Oct 28, 2026):

I'll take this one.

<!-- gh-comment-id:6467120265 --> @sleepe229 commented on GitHub (Oct 28, 2026): I'll take this one.
Author
Owner

@sleepe229 commented on GitHub (Oct 28, 2026):

The slowdown comes from the sky shader during sunset and sunrise. It rebuilt the glow's triangles for every pixel, and /time set night (13000) is still in that window. On an Intel UHD 730 at 1080p the sky took 10.2 ms per frame at dawn against 0.6 ms during the day. With the fix it's 1.8 ms. Fix in #3167.

<!-- gh-comment-id:6468362742 --> @sleepe229 commented on GitHub (Oct 28, 2026): The slowdown comes from the sky shader during sunset and sunrise. It rebuilt the glow's triangles for every pixel, and /time set night (13000) is still in that window. On an Intel UHD 730 at 1080p the sky took 10.2 ms per frame at dawn against 0.6 ms during the day. With the fix it's 1.8 ms. Fix in #3167.
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#839
No description provided.