Skip to content

Commit

Permalink
Rollup of fixes and improvements for cloud rendering
Browse files Browse the repository at this point in the history
Some changes were made to cloud rendering in newer versions
that needed to be replicated in Sodium.

- The alpha cutoff for clouds was changed to (a < 10).
- Texture loading can now gracefully fail, and it is
expected that rendering is skipped when this happens.
- The movement/positioning of clouds was slightly changed.
- The render pass system now needs to be told about
render target usages (fixes #2883).

This commit also improves mesh building time by around 35% on
a fast processor (AMD Ryzen HX AI 370) through various
micro-optimizations.
  • Loading branch information
jellysquid3 committed Nov 18, 2024
1 parent ab2044b commit a51076c
Show file tree
Hide file tree
Showing 2 changed files with 465 additions and 288 deletions.
Loading

0 comments on commit a51076c

Please sign in to comment.