Skip to content

Default to real-time radiance map filter for environment sky reflections#57931

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
Calinou:sky-default-filter-realtime
Feb 15, 2022
Merged

Default to real-time radiance map filter for environment sky reflections#57931
akien-mga merged 1 commit into
godotengine:masterfrom
Calinou:sky-default-filter-realtime

Conversation

@Calinou
Copy link
Copy Markdown
Member

@Calinou Calinou commented Feb 10, 2022

Can be merged independently of #55933.

This makes radiance map updates much faster, which improves performance when rotating the sun in the editor or at run-time.

This real-time filter is also much less prone to "fireflies" that can appear when using a sky with a bright sun.

This was discussed in a PR meeting and we agreed upon having this setting as the default 🙂

Example with this HDRI:

Before

2022-02-10_20 16 32

After

2022-02-10_20 16 41

This makes radiance map updates much faster, which improves performance
when rotating the sun in the editor or at run-time.

This real-time filter is also much less prone to "fireflies" that can
appear when using a sky with a bright sun.
@Calinou Calinou requested a review from a team as a code owner February 10, 2022 19:17
@Calinou Calinou added this to the 4.0 milestone Feb 10, 2022
@akien-mga akien-mga requested a review from a team February 10, 2022 20:28
Copy link
Copy Markdown
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for now.

We should revisit this once we implement the optimizations discussed in #58086. I'd like to make the Automatic mode the default again before we release 4.0.

The Automatic mode is really handy for users, and I think the Incremental mode will be fine once we get the base cost of the high quality filtering down. In theory, incremental can be made to be even cheaper than real time (because it is spread over many frames

@akien-mga akien-mga merged commit 6d57587 into godotengine:master Feb 15, 2022
@akien-mga
Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants