[GH-ISSUE #5093] clouds reduce fps a lot #1549

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

Originally created by @mcrib884 on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5093

Originally assigned to: @glitchsnake on GitHub.

clouds fast or fancy turn my cpu usage from 1.5 ms to 4 ms which causes fps to drop from 600 to 170

Originally created by @mcrib884 on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5093 Originally assigned to: @glitchsnake on GitHub. clouds fast or fancy turn my cpu usage from 1.5 ms to 4 ms which causes fps to drop from 600 to 170
Author
Owner

@ferretdevmc commented on GitHub (Oct 31, 2026):

ill try to look into it, its the same thing for me. i got an intel i3-n305, uhd graphics igpu and i use linux mint xfce.

<!-- gh-comment-id:6550391163 --> @ferretdevmc commented on GitHub (Oct 31, 2026): ill try to look into it, its the same thing for me. i got an intel i3-n305, uhd graphics igpu and i use linux mint xfce.
Author
Owner

@ferretdevmc commented on GitHub (Oct 31, 2026):

On Intel i3-N305 (UHD graphics, 8 GB RAM, Linux Mint XFCE):

Clouds off: 680 FPS
Clouds Fast or Fancy at default distance: 400-500 FPS
Clouds Fast at lowest distance: 680 FPS

So the cost grows with cloud distance, and Fast and Fancy cost about the same. oit_clouds.wgsl draws clouds in three passes (bounds, transmittance, accumulate), so I suspect those passes are the cost. Would skipping the OIT passes for clouds be acceptable? I’d like to try it. Where is the cloud pass set up in horizon-client-render?

<!-- gh-comment-id:6550481974 --> @ferretdevmc commented on GitHub (Oct 31, 2026): On Intel i3-N305 (UHD graphics, 8 GB RAM, Linux Mint XFCE): Clouds off: 680 FPS Clouds Fast or Fancy at default distance: 400-500 FPS Clouds Fast at lowest distance: 680 FPS So the cost grows with cloud distance, and Fast and Fancy cost about the same. oit_clouds.wgsl draws clouds in three passes (bounds, transmittance, accumulate), so I suspect those passes are the cost. Would skipping the OIT passes for clouds be acceptable? I’d like to try it. Where is the cloud pass set up in horizon-client-render?
Author
Owner

@glitchsnake commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6574817882 --> @glitchsnake commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
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#1549
No description provided.